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
CSS Clear Default Styles The usual clear default ...
1. Problem Description root@mysqldb 22:12: [xucl]...
Navicat reports errors 10060 and 1045 when connec...
Table of contents APIs used Simple Example person...
apt install CMake sudo apt install cmake This met...
Achieve results Implementation Code html <div ...
illustrate: VMware IOInsight is a tool that helps...
Introduction: When I looked at interview question...
Table of contents 1. Prototype 2. Prototype chain...
1. Demand The backend provides such data for the ...
We need to first combine the air quality data wit...
Preface I believe that everyone has had a simple ...
Preface Tomcat is an excellent Java container, bu...
Often, after a web design is completed, the desig...
Table of contents background Solution 1 Ideas: Co...