1. 程式人生 > 資料庫 >mysql 在執行寫入操作的時候,報錯:

mysql 在執行寫入操作的時候,報錯:

mysql 在執行寫入操作的時候,報錯:

The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

解決方式:

  1.   1.登入的mysql:mysql –u root –p
  2.    
  3.    
  4.    
  5.   2. mysql> set global read_only=0;
  6.   ( 關掉新主庫的只讀屬性)
  7.    
  8.