|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-12-09 21:31 UTC] darkdominiongr at gmail dot com
Description: ------------ The mysql extensions for PHP 5.3.1 don't work. I never had a problem with PHP 5.3.0 but when i upgraded to 5.3.1. i couldn't use the mysql functions. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
<?php $host = "******"; $username = "******"; $password = "******"; mysql_connect("$host","$username","$password") or die("couldn't establish connection: " . mysql_error()); echo "Connected to MySQL"; ?> When i try this code in php 5.3.0 i get the "connected to mysql" message correctly. But when i try it on 5.3.1 i get the following message. couldn't establish connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.