Author: websevendev

mysqli_real_connect() – Access denied for user ‘root’@’localhost’

After migrating a development environment to a new server a problem connecting WordPress to the MySQL database appeared. Using the MySQL root user with no password for a WordPress installation used to be fine: How ever since MySQL 5.7 using the root user with no password seems to be a dealbreaker, resulting in the following…