|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33 Connecting to Specific Ports
Submitted: 1998-02-03 23:16 UTC Modified: 1998-02-05 20:19 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: chris at mrboston dot com Assigned:
Status: Closed Package: mSQL related
PHP Version: 3.0b4 OS: BSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
21 + 19 = ?
Subscribe to this entry?

 [1998-02-03 23:16 UTC] chris at mrboston dot com
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?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-05 20:19 UTC] zeev
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",...))

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 01:05:53 2022 UTC