Ubuntu 15.04 opens MySQL remote port 3306. All the following operations are performed in the terminal. First check if the port is open netstat -an | grep 3306 This is a screenshot of opening port 3306. Previously it was displayed as . . . 127.0.0.1:3306 . . . Open the mysql configuration file vi /etc/mysql/mysql.conf.d/mysqld.cnf The bottom line of the screenshot is logout Restart Ubuntu Check again whether the port is open netstat -an | grep 3306 At this point port 3306 is open and you can authorize access to mysql using sudo Enter the local password the first time and the mysql password the second time Authorize the root user to all connections: grant all privileges on *.* to 'root'@'%' identified by 'xxxxxx'; The last one is the mysql password Let the permissions take effect immediately: flush privileges; Now all operations are completed and you can connect to this MySQL database server from any host. Solution to MySQL remote connection failure: https://www.jb51.net/article/103770.htm Centos7.1 firewall open port: https://www.jb51.net/article/103777.htm CentOS 7 open ports: https://www.jb51.net/article/103773.htm The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Linux concurrent execution is simple, just do it this way
>>: The implementation process of Linux process network traffic statistics
Front-end technology layer (The picture is a bit e...
If there are any errors in this article or you ha...
We better start paying attention, because HTML Po...
Disclaimer: This password reset method can direct...
Simple implementation of Mysql add, delete, modif...
I was recently working on a project about face co...
register The front-end uses axios in vue to pass ...
Table of contents Start Docker Stop Docker Python...
Related reading: MySQL8.0.20 installation tutoria...
Table of contents 1. Install ESXi 2. Set up ESXi ...
I logged into the backend to check the solution t...
Among classic color combinations, probably no one...
Preface Sometimes, we need a floating effect requ...
Table of contents Prerequisites Setting up a test...
Preface When backing up the database, a full data...