change password? easy question....

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
lizlazloz
Forum Commoner
Posts: 64
Joined: Mon Dec 29, 2003 7:29 am

change password? easy question....

Post by lizlazloz »

hi, how do i chaneg the password of my mysql databases.

you knwo the bit where u go mysql_connect("domain","username","password"), how do you change that password?

because i worried that somebody else knows the password as well....
lizlazloz
Forum Commoner
Posts: 64
Joined: Mon Dec 29, 2003 7:29 am

Post by lizlazloz »

bump? and by the way, i just want to do thisstraight through SQL, not php.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Easiest to do this through the shell. Read up on following for guidance: http://www.mysql.com/doc/en/Passwords.html
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

if you have cpanel you can delete the user and remake them with a different password, then change your $password variable on your page..
Post Reply