An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

I just wanted to mention, that one cant use the default MySQL 5.7/MariaDB X.X? root user as a login without sudo rights and thus not with neos.


An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

I think the easiest solution as explained here (MySQL root login requires a sudo) - is to create a new user with all privileges:

CREATE USER 'neos'@localhost;
GRANT ALL PRIVILEGES ON *.* TO 'neos'@localhost IDENTIFIED BY '123456';
FLUSH PRIVILEGES;

[Solved]