This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11230|Reply: 0

[Source] The MySQL server is running with the--read-only option so it cannot ...

[Copy link]
Posted on 7/30/2019 5:39:34 PM | | | |
The MySQL server is running with the--read-only option so it cannot execute this statement
When executing a bulk insertion SQL statement, the following error is reported:



I don't know what caused it, the following is from the Internet.

Error cause

The database table is set to read-only, but this table is used when modifying the update operation, resulting in an error

The reason is that the DBA restarts the mysql agent, which has a certain probability of causing second-level read-only results.

Solution

(1) Change the read-only attribute to writable and readable

(2) Create a new readable database table







Previous:Check if the tables in the MYSQL data are all OK
Next:Shelf in bathroom 3D model
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com