There appears to be an error with the database

Status
Not open for further replies.

lamborg22

New Member
Messages
3
Reaction score
0
Points
0
Getting this error when loading any page of my website.

There appears to be an error with the database.

If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.

You can try to refresh the page by clicking here
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello,

Can you please log into cPanel and check to ensure the database has a user attached to it, if so can you please check the user has "All Privileges".
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Did you try dropping the user from the database and reassigning it?

1. Log in to your cPanel
2. Under Databases category, click MySQL Databases
As you can see on the MySQL page, all databases are intact. The databases are there and also the users. But eventhough they are there, your site wasn't able to connect on the database. Follow the next step.
3. Locate the category which will allow you to add a user to the database. Add User To Database
4. Select the appropriate user and database you have used for your website and click the Add button. Note: Be sure to choose the correct one or it will not worked.
5. You will be redirected to the Manage User Privileges page, select ALL PRIVILEGES then click the Make Changes button.
6. If all are successful, your site will be working.

Also, make sure the host is set to 'localhost' and the name, username, password is correct.
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
You're welcome!

Thanks for using x10hosting and have a nice day!
 
Status
Not open for further replies.
Top