Closed siddhion closed 10 years ago
Sounds to me like you have not created the users in mysql. If you look in your logs you should see some error messages telling you why it could not connect.
I do not believe that this issue has anything to do with YeoPress specifically, so I am going to close this. But feel free to comment back here and I will do my best to help.
ok so you are referring to the mysql logs?
PHP logs, which usually go to apache or nginx logs. It depends a lot on your setup.
The first time I used Yeopress I entered
root
as my Database user and when Yeopress was finished I would just go tolocalhost/test
and that URL would successfully bring me tohttp://localhost/first-site/wp-admin/install.php
. Also every time, since the first time, I runyo wordpress
and addroot
as my Database user I can successfully get to the install page.The problem starts when I choose a different name for Datacase user. If I choose a different name and go to
http://localhost/test-site
I seeError establishing a database connection
on that page. I never get taken to the Wordpress install screen.If I go into the
wp-config.php
file, change the'DB_USER'
name toroot
, save and then checkhttp://localhost/test-site
I will still seeError establishing a database connection
on that page.I should mention that my user name to get into phpMyAdmin is
root
. I betting the family jewels that has everything to do with it but it's a risky bet because I'm not 100% sure.Why does changing the
'DB_USER'
name in thewp-config.php
not remedy the problem?And how can I choose a different Database user name and have it all work?