[Resolved] Error Establishing DB connection
Setting up WordPress locally on my Mac testing server.
Mac OS X 10.5
All servers confirmed runnng normally.
<?php // ** MySQL settings ** // define('DB_NAME', 'dougrdotnet'); // The name of the database define('DB_USER', 'root'); // Your MySQL username define('DB_PASSWORD', ''); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); /* That's all, stop editing! Happy blogging. */ define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); ?>
Confirmed that database settings as shown in config are correct – am able to connect to db using these settings through ColdFusion server as well as CocoaMySQL using root with blank pass. Have tried using pass just in case config not accepting empty string.
What do you think?
- The topic ‘[Resolved] Error Establishing DB connection’ is closed to new replies.