Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31621

awhite2 on "Moving site to new server: error establishing database connection."

$
0
0

I am moving my site to a completely different server with a different url. I'm using godaddy for linux hosting.

I backed up my site and my database onto my harddrive.

I changed my wordpress to my new url.

I uploaded my old site into a subdirectory.

I created a new database and uploaded my old database. (I also tried with a blank database and it did not work)

I updated wp-config.php to match my new settings.

/** The name of the database for WordPress */
define('DB_NAME', 'redacted');

/** MySQL database username */
define('DB_USER', 'redacted');

/** MySQL database password */
define('DB_PASSWORD', 'redacted');

/** MySQL hostname */
define('DB_HOST', 'redacted');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

and I cannot get the database to connect. I've also tried changing hostname to the IP and localhost.


Viewing all articles
Browse latest Browse all 31621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>