Hey guys, I’ve been having a problem with Roundcube mail on my server. After successfully installing VestaCP on my server, I try to log into Roundcube but receive a database error every time:
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
Thanks for any help.
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!
Read the error. Think about what it says. Think about what it means. Look into the reasons it might be saying that. <br>Check all of the pieces of your database connection - host name or address, user name, password, privileges, database server status. <br>This is the down side to using “all-in-one” control panel installations. My experience has been that they generally don’t work right out of the box. Maybe they do for some people, but not for me. I’ve had that experience with ISPConfig and Virtualmin. After giving up on ISPConfig, I installed Virtualmin and still spent a week troubleshooting the postfix configuration that Virtualmin installed. In the future, I’ll probably skip the control panel and do it all myself since I now have a much better working knowledge of all the nuts and bolts than I did before.
Figured it out. The install for VestaCP was messed up. Upon initial install VestaCP was not able to grab the sql file for setting up the initial roundcube tables. I just manually pasted them in. Working fine now.
Hi PeterTucker02568, <br> <br>Currently I’ve been having the same problem. Can you tell us how you solved step by step? What we need to do to make it work? <br> <br>Thanks for any help. <br>
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.