- Plesk for Linux
WordPress website is inaccessible. The following messages are shown in browser:
mysql_connect(): Headers and client library minor version mismatch. Headers:50550 Library:100128 in /var/www/vhosts/example.con/httpdocs/wp-includes/wp-db.php on line 1633
Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in /var/www/vhosts/example.com/httpdocs/wp-includes/wp-db.php on line 1633
Warning: mysql_connect(): Access denied for user 'johndoe'@'localhost' (using password: NO) in /var/www/vhosts/example.com/httpdocs/wp-includes/wp-db.php on line 1633
Error establishing a database connection.
SQL safe mode is enabled in php.ini.
2. Navigate to tab Home > Domains > example.com > PHP settings .
3. Add the following lines into custom PHP directives :
sql.safe_mode = Off