From: Operating system: Windows XP PHP version: Irrelevant Package: cURL related Bug Type: Bug Bug description:Error when request on port 3306
Description: ------------ When I get a request from a host which is using mysql, I'll get an error I can't turn off ("R (strange chars) Host 'XXXXX' is not allowed to connect to this MySQL server"). I can't suppress this error. Test script: --------------- $host = 'www.hostUSINGmysql.com'; // for example www.schutterijkleintuindorp.nl $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_RETURNTRANSFER, false); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_PORT, 3306); $test = curl_exec($ch); if(!empty($test)) { $page .= 'JA - 3306<br />'; } else { $page .= 'Nee - 3306<br />'; } echo $page; curl_close($ch); Expected result: ---------------- Getting JA - 3306 or NEE 3306 -- Edit bug report at http://bugs.php.net/bug.php?id=53080&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53080&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53080&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53080&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53080&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53080&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53080&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53080&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53080&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53080&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53080&r=support Expected behavior: http://bugs.php.net/fix.php?id=53080&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53080&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53080&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53080&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53080&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53080&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53080&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53080&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53080&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53080&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53080&r=mysqlcfg