Datbase error: Call to undefined function mysql_connect
-
Hi there,
I just installed a fresh installation of wordpress on my new vps with openlitespeed with php7.3 and mariodb. Only when I installed wordpress I get an error after turning on the debug mode. But I dont understand whats wrong.
This are the errors
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/lsws/xxx.eu/wp-includes/wp-db.php:1643 Stack trace: #0 /usr/local/lsws/xxx.eu/wp-includes/wp-db.php(639): wpdb->db_connect() #1 /usr/local/xxx/wp-includes/load.php(420): wpdb->__construct('wp_user', '.......', 'WP_database', 'localhost') #2 /usr/local/lsws/xxx.eu/wp-settings.php(120): require_wp_db() #3 /usr/local/lsws/xxx.eu/wp-config.php(98): require_once('/usr/local/lsws...') #4 /usr/local/lsws/xxx/wp-load.php(37): require_once('/usr/local/lsws...') #5 /usr/local/lsws/xxx/wp-blog-header.php(13): require_once('/usr/local/lsws...') #6 /usr/local/lsws/xxx/index.php(17): require('/usr/local/lsws...') #7 {main} thrown in /usr/local/lsws/xxx.eu/wp-includes/wp-db.php on line 1643 Fatal error: Uncaught Error: Call to undefined function load_default_textdomain() in /usr/local/lsws/xxx.eu/wp-includes/class-wp-fatal-error-handler.php:41 Stack trace: #0 [internal function]: WP_Fatal_Error_Handler->handle() #1 {main} thrown in /usr/local/lsws/xxx.eu/wp-includes/class-wp-fatal-error-handler.php on line 41
But I don’t have “define(‘WP_USE_EXT_MYSQL’, true);” in my wp-config.
Not sure where to look for now.
Tom.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Datbase error: Call to undefined function mysql_connect’ is closed to new replies.