RabPHP Posted June 26, 2006 Share Posted June 26, 2006 Greetings,I am having an issue with what appears to be PHP 5.04 specifically.I can connect through mysql command line to a remote host on port 7306 without any problems. I can also connect from the server it's on by executing a local php script on this port. I can also take the exact script and connect from a FC2 with PHP 4.3 machine remotely, however when I try to connect from a FC4 machine with php-5.04 I get the following error....Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'IP OMITTED' (13) in /var/www/html/junk/mysql_connect.php on line 3I cannot find a reference to erro 13.As I stated, the script works fine from a FC2 machine running 4.3You guys are my last resort, please help!Rab Link to comment https://forums.phpfreaks.com/topic/12896-error-with-non-standard-ports/ Share on other sites More sharing options...
trq Posted June 26, 2006 Share Posted June 26, 2006 Code? Link to comment https://forums.phpfreaks.com/topic/12896-error-with-non-standard-ports/#findComment-49509 Share on other sites More sharing options...
RabPHP Posted June 26, 2006 Author Share Posted June 26, 2006 [!--quoteo(post=387900:date=Jun 25 2006, 09:55 PM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Jun 25 2006, 09:55 PM) [snapback]387900[/snapback][/div][div class=\'quotemain\'][!--quotec--]Code?[/quote][code]$link = mysql_connect('IP OMOTTIED:7306', 'mail', '1q2w3e4r');if (!$link) { die('Could not connect: ' . mysql_error());}[/code] Link to comment https://forums.phpfreaks.com/topic/12896-error-with-non-standard-ports/#findComment-49514 Share on other sites More sharing options...
RabPHP Posted June 28, 2006 Author Share Posted June 28, 2006 I would submit this bug to Zend, but I they want me to upgrade to 5.1 first it seems which I don't have the luxory of doing. Anyone know Perl? lol.Rab Link to comment https://forums.phpfreaks.com/topic/12896-error-with-non-standard-ports/#findComment-50278 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.