After installing mysql using sudo apt-get install mysql-server
, no question was asked to me to fill a specific password for root account. Logically, it means password is empty. It is confirmed when I have a look in the /var/log/mysql/error.log where I can find this information =>
2019-04-28T20:31:35.761063Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
But now, when I connect to PHPAdmin with root login and empty password, I have a message:
#1698 - Access denied for user 'root'@'localhost'
with a few more details:
mysqli_real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
How do I solve this issue?
/usr/share/doc/mysql-server/NEWS.Debian.gz
. – fkraiem Apr 29 '19 at 21:01