Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mysql display password
#1
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
Reply
#2
have you checked to your phpMyAdmin?

or go to the mysql console and type in

Code:
SET PASSWORD FOR root@localhost=PASSWORD('pass_here');
I am your Father
Reply
#3
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]?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [SF Coders] Password Generator ★Cooldude★ 8 3,210 12-07-2011, 12:42 PM
Last Post: ★Cooldude★
  optimize mysql through a php script andrewjs18 7 3,378 10-05-2011, 06:31 PM
Last Post: John.
  Creating a simple PHP/MySQL login script ndee 16 10,530 05-14-2011, 02:18 AM
Last Post: モrainee
  Simple MySQL Tutorial Sly 4 1,323 05-14-2011, 01:53 AM
Last Post: Sly
  PHP Echo HTML From MySQL Value? iMr 7 3,798 03-19-2011, 09:41 AM
Last Post: ★Cooldude★

Forum Jump:


Users browsing this thread: 1 Guest(s)