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

WordPress fix Reply To: Warning: mysqlirealconnect(): (HY000/3159): Connections using...

Discussion in 'Misc WordPress Requests' started by George Appiah, Dec 2, 2017.

  1. George Appiah

    Guest

    Reply To: Warning: mysqlirealconnect(): (HY000/3159): Connections using insecure transport, by George Appiah

    Warning: mysqli_real_connect(): (HY000/3159): Connections using insecure transport are prohibited while --require_secure_transport=ON. in /var/www/html/wp-includes/wp-db.php on line 1538

    See this article by your host, Digital Ocean: see How To Configure SSL/TLS for MySQL on Ubuntu 16.04

    MySQL 5.7 and up require that if you set configuration option –require_secure_transport=ON, clients are REQUIRED to use “secure” transport.

    In this context, “secure” connections can be SSL/TLS, Socket, or Shared Memory and MySQL will reject new connections which do not use one of these three connection types.

    But as you say you’re able to make the remote connection outside of the WordPress environment, I’m not really sure WordPress is doing differently.

    UPDATE: I can see the connection is working now. Would you mind sharing what change you made?

    Reply To: Warning: mysqlirealconnect(): (HY000/3159): Connections using insecure transport
     
    #1

Share This Page

Web Hosting