Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can connect to server even if the username and pwd is wrong!!

Status
Not open for further replies.

spookie

Programmer
May 30, 2001
655
IN
Hi,

I am connecting to MySQL server thru my PHP script.
The thing is whatever i supply as parameter for username and password for mysql_connect(), it gets connected to the server.
What i want is to create a new user (well i have already created that) and using that userid connect to mysql server.

Any suggestions why this is happeneing?

TIA





--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
No.I am only having root as a user.
Meanwhile i tried to connect with the new user created and even if the pwd is same, it gives me error "permission denied to username..."
At this time no matter whtever username and pwd i use, it connects to the server.
I will just try and play with the system next week.

Any help is most welcome!!

TIA


--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
it is not clear. u say u cannot coonect with a new user and next line u say u can connect.

for anonymous user check user table in mysql database. the user tuple would be blank



[ponder]
----------------
ur feedback is a very welcome desire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top