简体   繁体   中英

Mysql Changes to /etc/mysql/my.cnf not working

I am facing a issue with mysql. I am a beginner.

I installed mysql on Ubuntu.
After installation when I ran sudo service mysql status
It showed that it had started.

Now since the bindaddress is 127.0.0.1, I changes it to 0.0.0.0
After making changes to /etc/mysql/my.cnf, when i save and restart the mysql by running the command:
sudo service mysql restart
It hangs sometimes for a long time.
Sometimes, it says that it has started the mysql server. However when I run
ps -ef | grep mysql
I cannot see mysqld running.

What do I need to include or make changes to?

Can you check your log file in your mysql directory for more information? It should be named "YOUR_MACHINE_NAME.err."

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM