|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [1998-02-03 23:16 UTC] chris at mrboston dot com
 Guys, Is it possible to tell PHP which port to connect to when working with mSQL or mySql? Or does PHP connect to the default only? ie Can I run Two mSQL servers each on diffrent ports and access them seperatley? Chris PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 06:00:01 2025 UTC | 
The mSQL API doesn't allow for the port to be set in runtime. However, support for optional port has been added to the MySQL connect functions (mysql_connect("host:port",...))