Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/wordpress/wp-includes/wp-db.php:1562 Stack trace: #0 /var/www/wordpress/wp-includes/wp-db.php(592): wpdb->db_connect() #1 /var/www/wordpress/wp-includes/load.php(404): wpdb->__construct('ubuntu', 'mugisama', 'wordpress', '127.0.0.1') #2 /var/www/wordpress/wp-settings.php(107): require_wp_db() #3 /var/www/wordpress/wp-config.php(104): require_once('/var/www/wordpr...') #4 /var/www/wordpress/wp-load.php(37): require_once('/var/www/wordpr...') #5 /var/www/wordpress/wp-blog-header.php(13): require_once('/var/www/wordpr...') #6 /var/www/wordpress/index.php(17): require('/var/www/wordpr...') #7 {main} thrown in /var/www/wordpress/wp-includes/wp-db.php on line 1562