I am using MySQL server on Ubuntu 10.04 and after changing the bind-address from 127.0.0.1 to my webserver IP in /etc/mysql/my.cnf the mysql server fails to load. Any clues will be highly appreciated!
I have tried disabling iptables but useless
Thanks,
-
Post your my.cnf plz
From HKVN -
We too had the same problem exactly on Lucid Lynx, while not having it on earlier Ubuntu releases. You know you're hitting the same issue if:
- mysql error log says it can't bind to that address or the address doesn't exist or something like that (can't remember the exact wording)
- mysql works perfectly if you start/restart it after booting the system
Seems like Ubuntu 10.04 tries to start MySQL before having assigned ip addresses to all network interfaces, so you don't actually have your ip setup when it starts.
We workarounded it by binding mysql to the 'any' address (0.0.0.0) and opening an hole for its port in our iptables (which is default closed for any traffic on any port on any ip).
From Luke404 -
bind-address is the address which MySQL server listens, it should be 127.0.0.1 for local connection and machine IP for remote connection. Why you change the bind-address to web server IP? Is the web server in the same machine of MySQL server?
From ngsiolei
0 comments:
Post a Comment