• Please help, I’m trying to configure MySQL to wordpress. I’m using PHP 7.0.6. The results I’m getting are as follows:

    PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\inetpub\wwwroot\wp-includes\wp-db.php:1522
    Stack trace:
    #0 C:\inetpub\wwwroot\wp-includes\wp-db.php(658): wpdb->db_connect()
    #1 C:\inetpub\wwwroot\wp-includes\load.php(371): wpdb->__construct(‘root’, ‘12345’, ‘MySQL57’, ‘MOF-387-EMD’)
    #2 C:\inetpub\wwwroot\wp-settings.php(88): require_wp_db()
    #3 C:\inetpub\wwwroot\wp-config.php(89): require_once(‘C:\\inetpub\\wwwr…’)
    #4 {main}
    thrown in C:\inetpub\wwwroot\wp-includes\wp-db.php on line 1522

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Failing to connect WordPress to MySQL 5.7.12’ is closed to new replies.