Home > Topics > Pagoda Panel > body text

How to solve the problem that the database prompts that it only has read-only permissions and cannot be operated

藏色散人
Release: 2020-12-11 15:56:44
forward
3349 people have browsed it

The following tutorial column of Pagoda will introduce to you the solution to the problem that the database prompts that it only has read-only permissions and cannot be operated. I hope it will be helpful to friends in need!

How to solve the problem that the database prompts that it only has read-only permissions and cannot be operated

Many people like to directly upload data files to the database storage directory through ftp or panel to implement the migration and import function. Although it is not impossible, the lack of permission adjustment results in the database being read-only.

Permissions need to be modified in time for normal use

First change the directory permissions, select the storage directory of the database and adjust it to belong to the mysql user, 700 permissions

How to solve the problem that the database prompts that it only has read-only permissions and cannot be operated

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

How to solve the problem that the database prompts that it only has read-only permissions and cannot be operated

##After the modification is completed, restart mysql

The above is the detailed content of How to solve the problem that the database prompts that it only has read-only permissions and cannot be operated. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:bt.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template