Main menu:

Site search

Categories

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Archive

MySQL vs PHP login weirdness

During the reinstallation of Gallery2 I also wanted to set the database username to the same name as the production site to have as few differences as possible. I ran into a problem I had before when installing Drupal: the only connection allowed was using user ‘root’. Whenever I used a user with a password who had only privileges on a single database I got an ‘access denied’ error. However, on the production site the installation with a username and password went well and using the username and password and logging in in a terminal using the mysql commandline also worked well.

No idea what’s wrong locally.

I guess I need to settle for manual change when moving from local to production and vice versa.

Write a comment