Support Forums

Full Version: mysql display password
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have had many problems connecting to my mysql database via php. I know how and have done it many times before but i think my script is sending the wrong pass for some reason. My script works on other websites where i have setup mysql the same way. How can i modify my php distribution so when mysql says that access is denied for xxx user it also displays the password instead of just saying using "passwords [yes]"?

Its only temp and its only local. Im running the latest version of xampp on windows vista.

Oh and before you ask yes i setup the same user and pass i i have just for testing. Smile
have you checked to your phpMyAdmin?

or go to the mysql console and type in

Code:
SET PASSWORD FOR root@localhost=PASSWORD('pass_here');
well i did go through php my admin to setup the account, Iv done that like always. Now my question is mainly how could i modify my php distribution to actually show the password instead of just saying using password[yes]?