search

Home  >  Q&A  >  body text

phpstudy cannot connect to the database remotely

Hello, I found that phpstudy cannot connect to the database remotely. When I used navicate to connect, I reported an error: 1130: host... is not allowed to connect to this mysql server. Normally, I only need to change the permissions on the command line. It works, but when I connect cmd to mysql, I get the same error and cannot perform any operations. How to solve it?

冬子冬子2638 days ago4281

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-09-04 09:23:24

    Open with phpmyadmin on the server and change locallhost in the user permission table to %

    reply
    0
  • 冬子

    The problem now is that when opening phpmyadmin, it also shows that I cannot log in and cannot change the permission table.

    冬子 · 2017-09-04 10:45:03
  • Cancelreply