Mysql sistem logunda ” [Warning] Access denied for user ‘UNKNOWN_MYSQL_USER’@’localhost’ (using password: NO) ” hatasını görüyorsak ve bu hatayı görmek istemiyorsak;
Mysql değişkenlerinden log_warnings değerini sorgulamak için mysql konsoldan;
1 |
SHOW GLOBAL VARIABLES LIKE '%log_warnings%' |
Sonuç:
1 2 3 |
Variable_name Value ------------- ------ log_warnings 2 |
[Warning] Access denied for user ‘UNKNOWN_MYSQL_USER’@’localhost’ (using password: NO) uyarısını almamak için log_warnings parametresini 1 olarak set edin.
my.cnf dosyasına aşağıdaki satırı ekleyin;
1 |
log_warnings = 1 |
So, what do you think ?