SQLSTATE[HY000] [1698] Access denied for user 'zmuser'@'localhost' [SOLVED]
Posted: Sat May 27, 2023 2:53 pm
My PC crashed yesterday, installed before crash ZM 1.36.X without problem, but this time got an error when trying to restart mysql service (with error "mysql: unrecognized service"), after changing file, could connect to mariadb using , mysql is not in init.d, but mariadb is, so instead restarted mariadb using . Then installed ZM using script, when tried to run ZM, got the following error:
What I'm doing wrong? Is it because of the mysql service can't restart or some other reason? How can I solve this problem?
OS: MX Linux 21.3 (Debian 11 based)
Code: Select all
sudo service mysql restart
Code: Select all
/etc/mysql/mariadb.conf.d/50-server.cnf
Code: Select all
mysql -uroot -p
Code: Select all
sudo service mariadb restart
Code: Select all
zm-install
Code: Select all
Unable to connect to ZM db using dsn mysql:host=localhost;dbname=zm;charset=utf8
SQLSTATE[HY000] [1698] Access denied for user 'zmuser'@'localhost'
OS: MX Linux 21.3 (Debian 11 based)