Error establishing a database connection

wordpress

#1

Hi,

I lapsed on payment and my sites were suspended. When they were reestablished, one doesn’t seem to recognise the database. I’ve restored both the site files and the database to before the suspension but no luck, I’ve looked at the wp-config file but don’t know what I have to edit in there.

Any help much appreciated.


#2

These lines in config.php:

[code]// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name_here’);

/** MySQL database username */
define(‘DB_USER’, ‘username_here’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password_here’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);[/code]

Make sure the values here match your actual database name, user, password, and host.

If you are getting an error message, you should quote it here.


#3

My database seems to have disappeared.
[hr]
There is nothing in the MySQL Recycle Bin.


#4

if you don’t have a backup offsite that you can restore you need to open a ticket with support and find out of there is anything they can do to help. Not likely tho, dreamhost is pretty clear upfront about when your data is deleted in the case of non-payment AND they also warn to maintain your own off site backups.