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
Let me tell you about a recent case. A game log l...
Table of contents this Method In the object Hidde...
I've been learning about stacking contexts re...
gzip is a command often used in Linux systems to ...
Table of contents 1. From father to son 2. Son to...
This article example shares the specific code of ...
Detailed explanation of the order of Mysql query ...
Achieve results Implementation Code html <div ...
From: https://blog.csdn.net/qq_44761243/article/d...
What are :is and :where? :is() and :where() are p...
Table of contents 1. Pull the image 2. Run the im...
Table of contents Get the content of the iframe o...
Nginx's configuration syntax is flexible and ...
Nginx load balancing server: IP: 192.168.0.4 (Ngi...
Preface: When passing data between parent and chi...