MYSQL WP database unable to connect
-
I’m having problems connecting to the WordPress Database. I’m setting this up on my local server, I have downloaded and set up the latest MYSQL version 5.024 also downloaded the MYSQL administration tool and added database name ” wordpress” also username called it ” wordpress”
when i try to run the https://localhost/wp/wp-admin/install.php.
I get Error establishing a database connection
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘wordpress’); // Your MySQL username
define(‘DB_PASSWORD’, ‘wordpress’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this valueI can command prompt to mysql and login with user name created so i know it works from there but not from wordpress
any suggestions?
- The topic ‘MYSQL WP database unable to connect’ is closed to new replies.