MySQL unable to connect with remote server

后端 未结 7 1863
醉梦人生
醉梦人生 2021-02-07 15:00

We have a MySQL server in one of the remote Virtual Machine (Windows Server 2008). Till yesterday we were able to connect to the MySQL server, with the help of workbench install

7条回答
  •  心在旅途
    2021-02-07 15:14

    GRANT ALL ON *.* to user@'%' IDENTIFIED BY 'password';
    

    this command should do the trick for all users @Gustavo Rubio has already given the proper explanation.

    To ensure what ports are open run cmd in the virtual machine and type.

    netstat -a
    
    TCP    127.0.0.1:3360     Hostname:3360   LISTENING
    

    The my.cnf is located Mysql-install-path\MySQL\MySQL Server xxx make sure you backup original before changing

    Can't connect to [local] MySQL server

    Testing The MySQL Server Installation on Microsoft Windows

    MySQL Workbench: Manage MySQL on Windows Servers the Windows way

提交回复
热议问题