Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Fatal error: Uncaught Error: Call to undefined function mysql_connect()

Discussion in 'Misc WordPress Requests' started by WordPress.org Forums », Oct 20, 2017.

  1. WordPress.org Forums »

    Guest

    Fatal error: Uncaught Error: Call to undefined function mysql_connect(), by

    I’m trying to get WordPress going, yet getting following error while accessing website:


    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /X/wp-includes/wp-db.php:1580

    PHP’s MySQL Native Driver:


    # docker exec -it php php -i | grep mysql
    Configure Command => './configure' '--build=x86_64-linux-musl' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--disable-cgi' '--enable-ftp' '--enable-mbstring' '--enable-mysqlnd' '--with-curl' '--with-libedit' '--with-openssl' '--with-zlib' '--with-pcre-regex=/usr' '--enable-fpm' '--with-fpm-user=www-data' '--with-fpm-group=www-data' 'build_alias=x86_64-linux-musl'
    mysqlnd
    mysqlnd => enabled
    Version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $
    Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
    mysqlnd statistics =>
    #


    Please advise.

    Thanks in advance)

    Fatal error: Uncaught Error: Call to undefined function mysql_connect()
     
    #1

Share This Page

Web Hosting