At first, the mood is painful, shots are as follows:
After tossing some, the solution is as follows:
- First make sure the service on linux mysql port 3306 is opening up
Change to the directory: / etc / sysconfig the edit iptables , this copy into " -A the INPUT -m -p TCP TCP --dport 3306 -j ACCEPT ", as shown in FIG effect:
- Then restart the firewall
service iptables restart
- mysql open root privileges (the next mysql command)
赋予权限: grant all privileges on *.* to 'root'@'% 'identified by 'password' with grant option
Refresh the list of permissions: flush privileges
- Modify /etc/percona-server.conf.d directory under mysqld.cnf file
Commented "bind 127.0.0.1"
Uncomment "bind-address = 0.0.0.0" of this line
- The final restart mysql
service mysql restart
So happy duck, successful, shots are as follows:
*****************************************************************************************************
Energy is limited, too many ideas, focus on doing one thing on the line
- I'm just a program ape. 5 years to write the code, technology blog scrutiny of every word, and insist on zero-copy original
- Meaning a blog that exercise logical rational, systematic deepen the understanding of knowledge, writing exercise, and if just a little help to others, then it is a very happy thing
*****************************************************************************************************