Even aanhaken op dit probleem:
Ik krijg namelijk dezelfde melding:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums
Ik heb MAMP geintstalleerd op een mac (10.4.11 PPC):
Apache op poort 80
MYSQL op poort 3306
Ik de root van mijn sites verwezen naar de sites folder van mijn profiel: /Users/stijlgeit/Sites
In mijn wp-config.php staat:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘WP_test’); // The name of the database
define(‘DB_USER’, ‘mijnusername‘); // Your MySQL username
define(‘DB_PASSWORD’, ‘mijnwachtwoord‘); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
// Change SECRET_KEY to a unique phrase. You won’t have to remember it later,
// so make it long and complicated. You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
define(‘dit is mijn eerste cms avontuur’, ‘put your unique phrase here’); // Change this to a unique phrase.
// 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’);
?>
Bij mij dus ook de vraag, wat doe ik niet goed? Is het ook de het pad van de host of toch iets anders.
Ps er wordt gesteld in het 3 stappenplan dat je een database én een MYSQL database moet aanmaken… hoe zit dat eigenlijk?
alvast dank .. Stijlgeit