I am installing the package mysql-server on debian (actually Raspbian, the Debian version for raspberry pi). I'm installing it with the following command
sudo apt-get install mysql-server
During the installation I'm not asked to enter a root password. And if I try to connect to mysql with the following command :
mysql -u root
or
mysql -u root -p
and using the system root password, I got the following error :
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
I am quite confused since apparently I should be asked to provide a root password during the installation.
What should I do ?
Regards.