search

Home  >  Q&A  >  body text

An error warning appears when phpstudy enters the database

QQ截图20171011170842.png

HirtdyeHirtdye2590 days ago1464

reply all(2)I'll reply

  • nearest

    nearest2017-10-11 21:40:55

    Solution:

    mysql> set global read_only=0;
    (Turn off the read-only attribute of the new main library)

    flush privileges;

    set global read_only=1;(Read and write attributes)

    flush privileges;

    If it fails:

    Check my.ini, open it to see if there is skip-grant-tables, delete it if there is.

    If it still doesn’t work:

    Uninstall cleanly and reinstall.

    reply
    0
  • Day

    Day2017-10-11 17:43:09

    Baidu said that at this time we only need to flush privileges and it will be OK. You'd better look at the log or Baidu, there should be a detailed answer. This has nothing to do with phpStudy, it is mainly a problem with MySql execution.

    reply
    1
  • Cancelreply