View Single Post
  #3  
Old 03-09-2004, 06:56 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Go into c:\windows and delete the file my.ini. Then rerun the winmysqladmin.exe, in the c:\mysql\bin directory (assuming you installed MySQL in the default directory), and it will prompt you for your user name and password. REMEMBER EXACTLY what it is... Now make sure your db.ini says the same as you have in your winmysqladmin.exe. Open up a dos prompt and type the following and hit return after every line.
Code:
cd c:\mysql\bin
mysql -u root mysql
GRANT ALL OPTIONS ON *.* TO <your MySQL username>@localhost IDENTIFIED BY '<your MySQL password>' WITH GRANT OPTION;
quit
Note the ' key (apostrophe) it is needed, but dont type the < and > keys.....
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote