How to solve the problem that the database prompts only read-only permission and cannot operate what

Below, the pagoda tutorial column will introduce you to the solution that the database prompts only read-only permissions and cannot be operated. I hope it will be helpful to friends in need!


Many people like to directly upload data files to the database storage directory through FTP or panel to realize the migration and import function. Although it is not impossible, the database is read-only without adjusting the permissions. You

need to modify the permissions in time to use it normally.

First, change the directory permissions and select the database. The storage directory is adjusted to belong to the mysql user, 700 permissions. After the



adjustment, enter the directory and click the small box in the upper right corner, select all files, adjust to the mysql user, 660 permissions. After the



modification is completed, restart mysql.

Guess you like

Origin blog.csdn.net/an17822307871/article/details/112857876