I am receiving phpBB: Critical Error Could not connect to the database error.

This error most probably means that you have not configured your phpBB's database settings properly. Check phpBB's configuration file config.php located in the directory where your forum resides.

Please note that your database names and usernames always begin the following prefix user_ where user stands for your username. For more information about MySQL management check this video tutorial.

Another reason for this error is when your database has been deleted. In this case it would be best to restore it from a backup.

If you have problems with your phpBB forum, ask your host for assistance. SiteGround provides the best phpBB hosting and our support team will do their best to resolve your issue.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure phpBB Mass Email to comply with the SiteGround e-mail terms of use?

You have to configure your phpBB script to send less than 400 messages per hour and every message...

How to disable PhpBB3 search functionality for guest users?

Often the phpBB3 search functionality is abused by different spam bots. They perform searches as...

I am getting ‘General Error SQL ERROR You have an error in your SQL syntax’ in my phpBB forum.

Usually, this issue is caused by a missing Anonymous user for your forum. Therefore when an...

How to enable RSS in phpBB?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...

How to protect phpBB2 from spam?

In order to protect your phpBB 2 forum from unwanted messages, you can use the Akismet mod for...