By info268212
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Check <code>/etc/mysql/my.cnf</code> and look for a line that begins with <code>bind-address = xxx.xxx.xxx.xxx</code>. <br> <br>Is the <code>bind-address</code> 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 <code>localhost</code> or <code>127.0.0.1</code>.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.