ZenCart installer not seeing the MySQL DB i set up.

October 14, 2013 2.2k views
i'm installing ZC and on the Database page of the installer I'm getting this error. Connection to Database failed?Can't connect to MySQL server on '123.456.78.999'; (111) more info... i installed LAMP no problem. i can access MySQL and the empty DB i set up for ZenCart thru the command line, so i'm not seeing what the problem is. the ZC installer is asking for the following: Host (this is the IP address, no?) Username - root Password -xxxxx Name of DB. - databasename the last 3 i use in the command line, therefore i'm fairly certain that's what i should enter. anyone know what the problem might be. big thanks in advance.
3 Answers
On what interface is MySQL listening?
i don't know. how do i find out?
Check /etc/mysql/my.cnf and look for a line that begins with bind-address = xxx.xxx.xxx.xxx.

Is the bind-address commented out? If not, what IP address is listed? You may need to replace the IP address with the one that ZenCart is using when it attempts to connect to MySQL; or, in ZenCart, tell it to look for MySQL on localhost or
Have another answer? Share your knowledge.