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
Table of contents introduction Why bother? Commun...
background When performing a SQL query, I tried t...
Do you know what fonts are used in the logo desig...
1. Introduction to compression and packaging Comm...
In order to improve user experience and ease of us...
Today, in the practice of vue3+vite project, when...
MySQL reports an error when executing multi-table...
After reinstalling the system today, I reinstalle...
This article uses an example to describe how to a...
The following example code introduces the princip...
Website administrators often accidentally delete ...
Joint Index The definition of the joint index in ...
The Truncate table statement is used to delete/tr...
Preface Vue provides a wealth of built-in directi...
Preface What is the role of an agent? - Multiple ...