By galihontop
I use 512 ram and have 2 websites on Digital ocean and Here I use Webuzo as my panel. The problem comes when I couldn’t open my two sites on wordpress. Error establishing database connection when I tried to open my sites. Please help me… What should I do?
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!
Thank you Jsamuel, now I get new knowledge…I hope we can share our knowledge each other.
Have you checked the logs for mysql?
Debian/Ubuntu:
# cat /var/log/mysql.err
# cat /var/log/mysql.log
CentOS/Fedora:
# cat /var/log/mysqld.err
# cat /var/log/mysqld.log
FreeBSD:
# cat /var/db/mysql/`hostname`.err
You might want to check /var/log/syslog for “Out of memory” message as described here:
How to Fix WordPress ‘error establishing a database connection’
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.