error establishing databse
means u neeed min
db name
db user name
db user pass
table prefix
edit config with info
Moderator
t-p
(@t-p)
It seems you have wrong information in your wp-config.php–either the DB_HOST, DB_USER, DB_PASSWORD, or DB_NAME is incorrect.
dans fichier wp-config.pphp
modifier les lignes suivant
define(‘DB_NAME’, ‘name base donnee’);
/** Utilisateur de la base de données MySQL. */
define(‘DB_USER’, ‘user’);
/** Mot de passe de la base de données MySQL. */
define(‘DB_PASSWORD’, ‘password’);
/** Adresse de l’hébergement MySQL. */
define(‘DB_HOST’, ‘localhost’);
just create a msql user and assign it to the datbase of your wordpress installation . After you create the user and assign it go to config.php and update the permissions as specified by @Ibahjaoul . To check what database was your wordpress installation was using go to wp-config.php and have a look at the structure like the one stated below and work likewise.
Sturcture in wp-config.php :-
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name_here’);
/** MySQL database username */
define(‘DB_USER’, ‘username_here’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘password_here’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** 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’, ”);