trouble installing WP – can’t connect to database
-
I’m trying to set up WP on http://www.nsiweblog.com, with hosting provided by Expert Host. I copied the files into the /www directory, and created a database. The database seems to be hosted at sql10.webminder.com, but WP won’t connect to it when I try to install. Localhost don’t work.
I know that similar topics have been covered before, but it just won’t work for me, no matter what combinations of host names I try.
Here is my original wp-config.php code:
code
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpressblog’); // The name of the database
define(‘DB_USER’, ‘wordpress’); // Your MySQL username
define(‘DB_PASSWORD’, ‘******’); // …and password
define(‘DB_HOST’, ‘http://sql10.webminders.com’); // 99% chance you won’t need to change this value// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* Stop editing */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
/code
- The topic ‘trouble installing WP – can’t connect to database’ is closed to new replies.