I'm trying to connect to mysql server running on fedora virtual machine. Connection is established. But when I've restarted mysql server with this command :
# /etc/init.d/mysqld restart
stop is succeeded but start is failed!
I've tried with this command to start it but it's failed!
# /etc/init.d/mysqld start
in the log file of mysql I had :
160509 13:09:58 [ERROR] /usr/libexec/mysqld: unknown variable 'bind-address 0.0.0.0'
160509 13:10:03 [ERROR] aborting
I've done some researches, I found that the solution is to uninstall mysql server and reinstall it, but I don't want to lose the data in my database. How can I fix this?
=betweenbind-addressand0.0.0.0. This directive can be removed so the server listens to all interfaces.