You are here
Access denied for user ... to MySQL database
Solutions - Tue, 2022/11/15 - 21:10
I am trying an installation, first created the database, then the user with full privileges, I am sure that everything is done correctly, but when accessing the database, it does not allow access.
The error is shown as:
Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'user001'@'localhost' (using password: YES) in /var/www/wordpress/installfolder/lib/dml/mysqli_native_moodle_database.php on line 79
I restarted MySQL and rebooted the debian server, but no luck to make it work.
Any suggestions?
Thanks,
Forum: