change username and password of mysql database

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
mattareddy
Forum Newbie
Posts: 7
Joined: Sun Mar 08, 2009 12:01 am

change username and password of mysql database

Post by mattareddy »

Hi this is matti,
I have windows-xp and setup MySql and php and everything is working fine but I was trying to find out how to change the user name and password for logging into Mysql, the default username is "root" and the password is empty, but I want to change them so that they are the same username and password that I used on my webhost....can someone help I've been trying to find the solution but I could not.

thank you
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: change username and password of mysql database

Post by susrisha »

mysql documentation will be able to help you better than anyone else.
FyreHeart
Forum Newbie
Posts: 5
Joined: Tue Feb 17, 2009 12:27 am

Re: change username and password of mysql database

Post by FyreHeart »

User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: change username and password of mysql database

Post by Christopher »

(#10850)
Post Reply