Allow all remote connections, MySQL

前端 未结 7 1460
予麋鹿
予麋鹿 2020-11-28 01:34

I had been using SQL Server and am now using MySQL for a project. With SQL Server, our developers can connect to the remote database on their local machines if they know the

7条回答
  •  鱼传尺愫
    2020-11-28 02:27

    mysql> CREATE USER 'monty'@'192.168.%.%' IDENTIFIED BY 'some_pass';
    mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'192.168.%.%'
    

提交回复
热议问题