MySql on Diff host, many thing default to ‘localhost”
-
so I can connect to the database, and things *almost* work.
Seems like when I try to login the system wants to default to “localhost” re: database connections.How should I fix this?
Any help is greatly appreciated!
My wp-config.php file is:
`<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘DBname’); // The name of the database
define(‘DB_USER’, ‘DBuser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘DBPassword’); // …and password
define(‘DB_HOST’, ‘192.168.1.100’); // 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 = ‘note_’; // 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’);
The topic ‘MySql on Diff host, many thing default to ‘localhost”’ is closed to new replies.