I have ran the following to test a fix for an app issue :

delete from mysql.user where user='';
2lines got effected

after this I can´t connect through command line anymore :

./mysqladmin -u root password <pwd>

I get access denied for user 'root'@'localhost" (using password:'NO')

how can I restore the db so I can connect through command line again ?

thks

Reply via email to