White Screen or Error Establishing Connection
-
Hi there,
I’ve set up wordpress before on my local system (Mac on Yosemite) but for some reason now I can’t get it to work. I am using MAMP.
A fresh download, unzipped and opened in my browser simply displays a white screen.
Then when I make a new database and a new user, I edit the config-sample.php file to direct it to the new database changing the db name, user and password and i of course rename the file to wp-config.php but i get an error establishing connection to database error.
Using the debug function, i get the following:
Warning: mysqli_real_connect(): (28000/1045): Access denied for user ‘‘test_user’’@’localhost’ (using password: YES) in /Users/benjamin/Desktop/WWW/wp-test/wp-includes/wp-db.php on line 1386
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /Users/benjamin/Desktop/WWW/wp-test/wp-includes/wp-db.php on line 1416
Warning: mysql_connect(): Access denied for user ‘‘test_user’’@’localhost’ (using password: YES) in /Users/benjamin/Desktop/WWW/wp-test/wp-includes/wp-db.php on line 1416
my user is ‘test_user’, the folder containing the wordpress files is ‘wp-test’. it may be a mamp issue in which case tell me to bugger off but i installed drupal the other day and all was fine.
Can anyone help me??
Thanks…
The topic ‘White Screen or Error Establishing Connection’ is closed to new replies.