Error establishing a database connection: I can’t install wordpress
-
I’ve got this error: “Error establishing a database connection”.
These are data provided by my hosting service:
Mysql Server: mysql5.netsons.org
Mysql User Name: myr
Mysql password: xxxx
Database Name: myr
Mysql Database: Mysql5
Mysql authorizations: SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROPand this is the ‘wp-config.php’ file as I’ve changed it and uploaded it (in the right path..I’m sure):
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘myr’); // The name of the database
define(‘DB_USER’, ‘myr’); // Your MySQL username
define(‘DB_PASSWORD’, ‘xxxx’); // …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-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>Since I’m not sure of ‘localhost’ I’ve tried also to change it with ‘mysql5.netsons.org’ but I’ve got the same error.
I would like to install it…please help me! :p
- The topic ‘Error establishing a database connection: I can’t install wordpress’ is closed to new replies.