MySql Error #1036-Table ''is read only

Source: Internet
Author: User


MySql #1036-Table ''is read only error prompt: I mounted a system to the server a few days ago, and the database encountered the following error prompt: #1036-Table ''is read only after I upload the website to the server and put the backup database file under/usr/local/mysql/var, when a table is accessed, the permission problem occurs. Later, the database permission is changed to 777, and the user and group of the database directory is changed to MySQL. The error still exists. I used the following method to solve the problem. Www.2cto.com first, find the location of mysqladmin, usually under mysql/bin, under/usr/local/mysql/bin. The procedure is as follows: # cd/usr/local/mysql/bin #. /mysqladmin-u root-p flush-tables and then enter your database password. No error message is displayed, indicating that you have succeeded. Visit the table and try it out.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.