MySQL is running, verified by service mysql-server status.
Here is my config file (/etc/my.cnf):
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/English
#bind-address = 127.0.0.1
#skip-networking
3306 is open (sockstat -4 -l):
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root sendmail 749 4 tcp4 127.0.0.1:25 *:*
root sshd 746 4 tcp4 *:22 *:*
mysql mysqld 714 10 tcp46 *:3306 *:*
root syslogd 424 7 udp4 *:514 *:*
mysql.user Host for User root is set to wildcard %
Any ideas what else I could do?
Thanks to Wang the issue is solved. How do I mark this question as solved?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.