1. Error reproduction I can access the MySQL database, but I cannot read the database table. The error message is as follows: When accessing the database, an inexplicable error message 1018 is reported: ERROR 1018 (HY000): Can't read dir of './cnapscips/' (errno: 13). 2. Solution Check the MySQL data directory. Generally, the tables that cannot be read are copied databases. Even the root user cannot read the tables. You need to modify the directory permissions. Modify the directory permissions, use the command: chown -R mysql:mysql /var/lib/mysql/cnapscips (executed by the root user) Note: cnapscips here is my database name. When modifying permissions, be sure to change it to a database name that you cannot read. Use show cnapscips again; The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of Linux Namespace User
>>: Example code for implementing verification code login in SMS API in Node
HTML+CSS+JS imitates win10 brightness adjustment ...
1. Conclusion Syntax: limit offset, rows Conclusi...
Principle: First hide the input element, then use...
Dividing lines are a common type of design on web...
html Copy code The code is as follows: <SPAN cl...
Recently, WeChat Mini Program has proposed adjust...
nginx installation Ensure that the virtual machin...
There are many purposes for exporting MySQL data,...
Lock classification: From the granularity of data...
Recently I want to use goaccess to analyze nginx ...
Open any web page: for example, http://www.baidu....
Table of contents Preface 1. Object.freeze() 2. O...
Network security is a very important topic, and t...
Table of contents Problems encountered during dev...
I have summarized 3 methods to deploy multiple fr...