Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Database connect error 2003

0 votes
44 views
asked Sep 4 in Q2A Core by Zeeshan


Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111) in /home/l2rk3l4pm03z/public_html/qa-include/qa-db.php on line 84


Database connect error 2003

Can't connect to MySQL server on '127.0.0.1' (111)

what is the solution ?

Q2A version: 1.8

1 Answer

0 votes
answered Sep 6 by questfor
It seems that your MySQL Server is not running.
Try restarting it or send a new support ticket to your hosting company.
commented Sep 6 by Zeeshan
I think it was because I have enabled compression in htaccess and qa-config
...