Getting a error.

Status
Not open for further replies.

neosurfer2695

New Member
Messages
48
Reaction score
0
Points
0
Hi there,
I'm getting a Database error, this is only recently, my website was working this morning, and to my knowledge up until about a half an hour.
The error reads:
"Error establishing a database connection"

My website is Rotholtz.com
Thanks-
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
follow these steps...

1) Open cpanel file manager.
2) Select wp-config.php file located in your wordpress root folder.
3) Open it in code editor.
4) Press Ctrl+F and find 'DB_HOST'. It should be on line 28
5) Right after that change the text any written to localhost.
6) After editing it should look like this.

PHP:
/** MySQL hostname */
define('DB_HOST', 'localhost');
 
Last edited:

neosurfer2695

New Member
Messages
48
Reaction score
0
Points
0
Okay did that, but it still does not load.
Do I need to update the permissions?
Edit:
It's now just a blank page.
Edit:
Please help!
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
This is probably a bug in the ticket system. thats why you are unable to see your ticket there.

wait for a staff member there he/she will sort your problem here.

But please have patience.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Follow these steps.

1) Go to phpmyadmin from cpanel.
2) Click on your database and then click on export.
3) download the exported file.
4) Then go to database managment in cpanel and delete your database and user.
5) then create new database then user and add user to database with all priviges.
6) then go in phpadmin again and click on the database. it should be empty.
7) now click on import. browser the downloaded file and then click import.

See if this works for you...
 
Status
Not open for further replies.
Top