12 Nisan 2013 Cuma

ubuntu mysql root olarak bağlanmak

kurulumu tamamlarken tek bir şifre sormuştu

mysql -u xxxxx -p

komutunda rootla bağlanmaya çalışınca hop hata:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
 

ne yapıyoruz?
 kurtarıcımız:

 mysql -u root -p mysql 

1 yorum:

  1. şöyle bir hatanın sebebi ne olabilir?

    mysql> -u root -p mysql;
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-u root -p mysql' at line 1
    mysql>

    YanıtlaSil