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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting users and passwords

Status
Not open for further replies.

jacksplat

Programmer
Jun 19, 2001
67
US
i'm following some isntructions online and it told me to assign a username and a password to access a database i created by using the line:

GRANT ALL ON database.* TO user IDENTIFIED BY 'password';

at the mysql prompt. when i do this, i get this when i hit enter "Query OK, 0 rows affected (0.00 sec)"

and when i try to access my database using a php login script, it says that my password is wrong. i don't know what i am doing wrong. please help. i'm on freebsd 4.5 if thats any help.
 
and actually, i just tried that line using a username other than "admin" as i had tried before. when i use "admin" it says "incorrect password." when i use another user name, it says "the user name you supplied is not valid"
 
ok sorry, i figured it out, i had to use a username and password they gave me on another page that i forgot about...thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top