Jump to content

Recommended Posts

Hey guys,

I\'m running Windows Server 2003 and set up a database for a simple website I\'m working on. I\'m using phpMyadmin. Over the weekend, the power went out in my office and the server was restarted. Now, when I load up phpMyadmin, or when my website tries to access the database, I get incorrect user/pass. I can still log into phpMyadmin as root, though I think thats only because anyuser@localhost will work. When i look in the privilige tables, even after flushing and reloading them, I can still see my usual username. I even created a new user with a password successfully, and then tried logging in to no avail.

 

For some reason, I have a feeling that some security setting changed with windows server 2003. Does anyone have any clue what I should do, I\'m so frustrated!?

 

TIA

Matt

Link to comment
https://forums.phpfreaks.com/topic/598-mysql-priviliges-im-dumbfounded/
Share on other sites

When dealing with users table in MySQL, you need to restart the MySQL server to make changes effective.

 

In PHPMyAdmin, when you deal with users (from version 2.4.0 I think) the service is automatically restarted (tell me if I\'m wrong). I remember creating new users in MySQL in an older version of PHPMyAdmin and I had to restart the server each time I wanted the newly created user to be active. You can restart MySQL with PHPMyAdmin on the home page (Restart MySQL).

 

This should work. Also, if you set the users in your db but didn\'t restarted MySQL and your server crashed, this explains why you should really restart MySQL when you do modifications on users.

 

JP.

Nope, I tried that already... I\'ve reloaded mysql, restarted the server, flushed privilege tables, etc. It still says access denied. Also, when I log in with root and type in the password I have for root, that won\'t work either. The only thing I can do is get in by typing root and no pw.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.