All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

problem with wordpress

Viewing post 1 to 4 (4 total posts)
Profile picture of junaid

junaid said 1 year, 1 month ago:

i was using WordPress and my ex co admin deleted all the data including uninstallation of the WordPress i restored all the data as i was guided by one of ur teammate but now m getting a message of “Error establishing a database connection” i restored the data of the wordpress i prevously installed
please help

Profile picture of Sherrod

GoDaddy Expert sherrod said 1 year, 1 month ago:

@junaid,

It sounds line you simply need to modify the Connection string in the wp-config.php file.

Locating Your MySQL Database Connection String

Sherrod

Profile picture of junaid

junaid said 1 year, 1 month ago:

how can i modify the connection in the wp-confiq.php file
and what should be edited to get it done

Profile picture of JasonP

GoDaddy Expert JasonP said 1 year ago:

@junaid

When you edit the wp-cofig file, you will see the information required to connect to your database. It will look similar to this:

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

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

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

/** MySQL hostname */
define(‘DB_HOST’, ‘database.hostedresource.com’);

All of this information can be found in the previous article that was provided.

Jason

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.