Neden niye mysql'ye bağlanamıyorum? my.cnf olarakERROR 1130 (HY000): Bu MySQL sunucusuna bağlanmak için '' ana bilgisayarına izin verilmiyor
mysql -u root -ptest101 -h xxx.xxx.xxx.xxx
ERROR 1130 (HY000): Host 'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server
Ben
'UPDATE mysql.user SET Password = PASSWORD('test101') WHERE User = 'root';
FLUSH PRIVILEGES;
ben mysql -u root kullanarak ana makinede erişebilir ...
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 0.0.0.0
altına ben de aşağıdaki koştum var - ptest101 ancak mysql -u root kullanmayan -ptest101 -h xxx.xxx.xxx.xxx
Wow ... neden bu oluyor? Ben n 12,04
mysql> SELECT host FROM mysql.user WHERE User = 'root';
+---------------------------------------------+
| host |
+---------------------------------------------+
| % |
| 127.0.0.1 |
| ::1 | |
| localhost |
+---------------------------------------------+
5 rows in set (0.00 sec)
Mysql hesaplarının sadece kullanıcı adları olmadığını unutmayın. çiftin herhangi birinin joker olabileceği kullanıcı @ host 'çiftleridir. Doğru kullanıcı adını kullanıyor olabilirsiniz, ancak doğru ana bilgisayar ayrıcalıkları verdiniz mi? –