除了分配权限之外,还有其他要配置的么?
人生最曼妙的风景,竟是内心的淡定与从容!
There may be two reasons. One is because of browser interception. You can use
service iptables stop
Solved, but this is more dangerous.
Second, change 127.0.0.1 to localhost in the configuration. The configuration may be in bind-address
127.0.0.1
localhost
bind-address
/etc/mysql/my.cnf
/etc/mysql/mysql.conf.d/mysqld.cnf
and change it to bind-address
bind-address = 127.0.0.1
command to search find
find
find / -name mysqld.cnf find / -name my.cnf
There may be two reasons. One is because of browser interception. You can use
Solved, but this is more dangerous.
Second, change
or127.0.0.1
tolocalhost
in the configuration. The configuration may be inbind-address
and change it to
If you cannot find the configuration, you can also use thebind-address
command to search
find