Bug #76817 [Asn]: Can't establish a connection to MySQL after upgrading from 7.2.9 to 7.3.0RC1
| From: | nikic@php.net | Date: | Sun, 16 Sep 2018 06:48:05 +0000 |
| Subject: | Bug #76817 [Asn]: Can't establish a connection to MySQL after upgrading from 7.2.9 to 7.3.0RC1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217073@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76817&edit=1
ID: 76817
Updated by: nikic@php.net
Reported by: ildar dot aim at gmail dot com
Summary: Can't establish a connection to MySQL after
upgrading from 7.2.9 to 7.3.0RC1
Status: Assigned
Type: Bug
Package: MySQLi related
Operating System: archlinux 64
PHP Version: 7.3.0RC1
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
This looks like a different issue from bug #76651, because that one also affects PHP 7.2.9 (which
here is said to work correctly).
To check for the obvious first, are both PHP versions (PHP 7.2.9 and PHP 7.3.0RC1) using mysqlnd
(and not libmysql)?
Previous Comments:
------------------------------------------------------------------------
[2018-09-14 18:57:00] no at mail dot here
This bug is not resolved in PHP 7.2.10 (cli) (built: Sep 13 2018 00:47:25) ( NTS MSVC15 (Visual C++
2017) x64 ) either. See new comment in https://bugs.php.net/bug.php?id=76651.
------------------------------------------------------------------------
[2018-09-12 04:16:01] ildar dot aim at gmail dot com
I have changed the target version from
7.3.0beta3 to 7.3.0RC1
Just checked it
------------------------------------------------------------------------
[2018-09-07 15:27:59] ildar dot aim at gmail dot com
The same problem is on beta1 and beta2 versions.
------------------------------------------------------------------------
[2018-08-30 09:26:46] ildar dot aim at gmail dot com
a code like
$link = mysqli_connect($host, $sql_user, $sql_password);
is used.
------------------------------------------------------------------------
[2018-08-30 09:24:10] ildar dot aim at gmail dot com
Description:
------------
The script is same as in
https://bugs.php.net/bug.php?id=76651
| default_authentication_plugin | mysql_native_password |
mysql Ver 8.0.12 for Linux on x86_64 (MySQL Community Server (GPL))
Test script:
---------------
Should you add beta3 in the 'PHP version:' select box ?
Actual result:
--------------
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/aim/public_html/p.php on
line 10
Error: Unable to connect to MySQL. Debugging errno: 2002 Debugging error: No such file or directory
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76817&edit=1