Forum Moderators: open

Message Too Old, No Replies

User Privileges Problem

DB user failed to connect

         

mukhtar2t

5:57 pm on Nov 16, 2005 (gmt 0)

10+ Year Member



peace be upon you guys

i have a strange problem that accurs when i tried to connect to mysql server from another server by an user the database saied access denied, and when i tried to connect from server other than the privues with same user the connection success, allthow the user privilege config has been seted to accept all ips and after some minutes both servers was denied and still strange problem for some time one of them success and other time the second one success and the first faild.

can any one facing problems like this i hope some body tell me what may be happend

coopster

5:28 am on Nov 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Well that is a tough one to troubleshoot, no doubt! The first thing that comes to mind is to always remember to FLUSH PRIVILEGES whenever you make administrative changes in the database privileges.

mukhtar2t

6:14 am on Nov 17, 2005 (gmt 0)

10+ Year Member



but the strangeness thing is that user has been denided suddenly after it was working in real time system for a long time and i didn't make any changes in privileges of that user.

coopster

12:32 pm on Nov 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Maybe it is not the user's privileges in MySQL that are the problem. Is the error truly a permission issue? Or did the end user change some setting on their machine? Firewall, antivirus software with worm protection, etc? Or maybe your server firewall has a rule that is blocking?

First I would want to be certain of the error to make sure it is indeed a privilege/permission issue.

mukhtar2t

11:47 am on Nov 18, 2005 (gmt 0)

10+ Year Member



I appreciate your help and your quick answers.
now i solve this problem by setting a new password for that user.
And the point which i forgot it is mysql return the messege : "access denied for username@ipaddress" for that user and ip and the privilege for the user is to accept all ips.

I think it is realy an indeed privilege/permission problem, but there are some probabilty to say : some one hack my server and change the password for that user , but i didn't find any indication for this.

finaly i pray for you to obtain the reward and the guidance from Allah