Why am i getting this “Error establishing a database connection” im using cloudflare. It did it suddenly and im havented touched the website for 2-3 days.
This has nothing to do with CloudFlare as long as you did not point your application to a hostname protected by CloudFlare.
Usually the hostname for your database is localhost or the ip 127.0.0.1. Except for larger setups or HA sites.
Check your database server if it is running.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.