Operating system: Ubuntu
OS version: 20.4
I was trying to install WordPress on my domain, and during the installation, I got an error coming from MySql. I got this error:
Now installing WordPress version 5.6.1 .. Database connection failed : mysql::execute_sql failed : DBI connect failed : Access denied for user 'user-not-root'@'localhost' (using password: YES) .. failed! See the error message above for a reason why.
I found an article from 2006 on this same issue, but the content was outdated.
From what I understand, isn’t a WordPress error but a MySql error.
From the Apache log file, I got this:
[Sat Feb 20 13:16:38.319866 2021] [ssl:warn] [pid 1130] AH01909: web_site.com:443:0 server certificate does NOT include an ID that matches the server name [Sat Feb 20 13:19:44.457541 2021] [autoindex:error] [pid 1075507] [client 22.214.171.124:58244] AH01276: Cannot serve directory /home/web_site/public_html/: No matching DirectoryIndex (index.php,index.php4,index.php5,index.htm,index.html) found, and server-generated directory index forbidden by Options directive
I’m not sure if it’s related.