|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-04-14 13:16 UTC] ab@php.net
 
-Assigned To:
+Assigned To: pollita
  [2017-04-14 13:16 UTC] ab@php.net
  [2017-04-19 09:06 UTC] premavansmuuf at gmail dot com
  [2017-04-20 15:20 UTC] pollita@php.net
  [2017-04-20 15:32 UTC] pollita@php.net
  [2017-04-20 17:08 UTC] pollita@php.net
  [2017-04-27 10:39 UTC] ab@php.net
 
-Status: Assigned
+Status: Closed
  [2017-04-27 10:39 UTC] ab@php.net
  [2017-04-27 10:41 UTC] ab@php.net
  [2017-04-27 11:22 UTC] ab@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ Hello, This seems to be a regression in 7.0.18. If you give a port in the $host section of mysqli_connect, it will still add ":3306" to the end of it. > mysqli_connect("127.0.0.1:3306", "user", "pass", "schema"); will return: > mysqli_connect(): (HY000/2002): Failed to parse address "127.0.0.1:3306:3306" Notice the double port assignment. People should be using the $port parameter if mysqli_connect and not giving ports like this, but it still seems like a regression to me. Thanks! Test script: --------------- <?php # Works in 7.0.17, broken in 7.0.18 mysqli_connect("127.0.0.1:3306", "user", "pass", "schema");