If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > 1045 Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-28-03, 02:10
free69 free69 is offline
Registered User
 
Join Date: Dec 2003
Location: Seoul
Posts: 2
1045 Error

Hello, all!
My system : win2k, mysql4.0.17,php4.3.2

According to mysql manual, user is recommended to delete anonymous user having full privileges like,

mysql> DELETE FROM user WHERE Host='localhost' AND User='';
mysql> FLUSH PRIVILEGES;
mysql> QUIT
D:\mysql\bin>mysqladmin -u root password SECRET;
D:\mysql\bin>mysql -uroot -pSECRET mysql;

After this, I cannot access to root@localhost and had to reinstall.

Could you please explain what I was wrong and what to to?

Thank you in advance.
Reply With Quote
  #2 (permalink)  
Old 12-29-03, 04:16
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
You need to flush the privileges tables
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 12-29-03, 04:30
free69 free69 is offline
Registered User
 
Join Date: Dec 2003
Location: Seoul
Posts: 2
hehehe...
As I mentioned above, I did it right after delete command.
Several time I did. If I delete only anonymous, result is same.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On