Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from `sessions` where `id` = zJyi2zhjQ64VkUDBCwr17DVudmvfEzf9L4HCZNfn limit 1) code example
Example: mysql access denied for user 'root'@'localhost'
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';