В Debian при проверке:
service mysql status
БД запускается нормально, но я получаю некоторые ошибки:
deb systemd[1]: Starting MariaDB 10.3.22 database server...
deb mysqld[625]: 2020-00-00 00:00:00 0 [Note] /usr/sbin/mysqld (mysqld 10.3.22-MariaDB-0+deb10u1-log) starting as process 625 ...
deb systemd[1]: Started MariaDB 10.3.22 database server.
deb /etc/mysql/debian-start[699]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
deb /etc/mysql/debian-start[699]: Looking for 'mysql' as: /usr/bin/mysql
deb /etc/mysql/debian-start[699]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
deb /etc/mysql/debian-start[699]: Version check failed. Got the following error when calling the 'mysql' command line client
deb /etc/mysql/debian-start[699]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
deb /etc/mysql/debian-start[699]: FATAL ERROR: Upgrade failed
Почему эти ошибки?
Я могу получить доступ к mysql как root без проблем.