MySQL remote operation steps:
Method 1:
USE mysql;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Note: the password in the second step is the root login password you want to set. Note that it is not the root password during remote installation. What password you set here, then what is the remote login password
by analogy, other users can do the same
method 2: change the table method
mysql> use mysql;
mysql> update user set host = '%' where user = 'root';
mysql> select host, user from user;
mysql> flush privileges;
Read More:
- MySQL local connection Error 1130_ The solution of MySQL 1130 error report when remote connection through Navicat for MySQL
- MySQL: if the remote connection using navicatip fails, prompt “is not allowed to connect to this MySQL server”
- Sqlog connect to MySQL 8.0.24 remote server, error: 2058 solution
- SQL server remote computer refused network connection, error: 1225, specific solution steps.
- “2003” error reported by sqlyog for Linux remote connection solution
- MySQL Workbench: Error Code: 2013. Lost connection to MySQL server during query solution
- Microsoft Remote Desktop (Android version) connection appears the solution of the error of 0x204
- Solution of connection error report in MySQL installation
- Vscode remote connection server reports an error: could not establish connection to “XXXXXX” [resolved]
- Windows_ Win7 broadband connection prompt remote access connection manager error
- MySQL data backup scheme (compatible with local and remote)
- Solution to MySQL Error 1130 problem
- Connection between PHP 7.4 and MySQL (MariaDB) under Ubuntu (kali Linux)
- Mongo connection remote address error
- Error 711: Cannot load Remote Access Service Connection Manager.
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- An authentication error occurred in the remote desktop connection
- Navicat remote connection SQL Server 2014 express report 08001 error
- Authentication error occurred on remote connection, the required function is not supported
- Failed to connect to remote VM. Connection reused. Connection reused: Connect