#34072 [NEW]: MySQL module can't connect if port is not 3306
| From: | pash_ka at fonbet dot info | Date: | Wed, 10 Aug 2005 16:11:31 +0000 |
| Subject: | #34072 [NEW]: MySQL module can't connect if port is not 3306 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83320@lists.php.net to get a copy of this message | ||
From: pash_ka at fonbet dot info
Operating system: Windows XP
PHP version: 5.1.0b3
PHP Bug Type: PDO related
Bug description: MySQL module can't connect if port is not 3306
Description:
------------
I can't connect with my MySQL server running on localhost using
non-standart port.
I've tried dsn
mysql:host=localhost;port=6733;dbname=www
(resulted with "Can't connect to MySQL server on 'localhost' (10061)"
error)
mysql:host=localhost:6733;dbname=www
(resulted with "Unknown MySQL server host 'localhost:6733' (11001)"
error)
I've also tried to use
ini_set('mysql.default_port', 6733);
and set in php.ini
I've tried it with PHP 5.1 beta3 and with php_pdo_mysql.dll from
"php5-win32-latest.zip" (09.08.2005).
--
Edit bug report at http://bugs.php.net/?id=34072&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34072&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34072&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34072&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34072&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34072&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34072&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34072&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34072&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34072&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34072&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34072&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34072&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34072&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34072&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34072&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34072&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34072&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34072&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34072&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34072&r=mysqlcfg