I’m testing WordPress on my own computer. I could not install it, and I kept getting this message:
“Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.”
And yes, I double checked that everything was as it should be, except for one thing: adding the user I created to the wordpress database: I have no idea how to do this. I use PHPmyadmin to manage MySQL, and with PHPmyadmin, I could only create a user@localhost, set a password for the user, give permissions, and that’s it. I could also create the wordpress database, but that’s it. I couldn’t specifically add that user to the wordpress database. I don’t know if that could’ve been the cause of my problem, and how exactly could I solve it;
stronghow can I add my username to the wordpress database using PHPmyadmin anyway?
However, after reading something about the new MySQL, passwords, and WordPress somewhere in these forums, I took off the password from the wp-config.php file, and I made the user that I created in PHPmyadmin withOUT a password, and after I did that, WordPress installed just fine.
Now all this is just testing on my own computer. I don’t think it’s a good idea at all to do this without a password when I do this on a proper server for my public blog.
strongMoreover, what do I do with this username now anyway?
/strongWhen I go to WordPress’s page, it doesn’t ask me for that username, it asks me for the admin and the random password that I was given by WordPress after the successful installation.
- The topic ‘Could not install unless password empty’ is closed to new replies.