RE: [PHP] Can't connect to MySQL

From: Date: Mon, 21 Aug 2000 22:49:04 +0000
Subject: RE: [PHP] Can't connect to MySQL
Groups: php.general 
Request: Send a blank email to php-general+get-12828@lists.php.net to get a copy of this message
MySQL is there: Allow persistent links: Yes Persistent links: 0/Unlimited Total links: 0/Unlimited Client API version: 3.22.22 Compilation definitions: MYSQL_INCLUDE= MYSQL_LFLAGS= MYSQL_LIBS= -----Original Message----- From: idban secandri [SMTP:idban@satunet.com] Sent: Monday, August 21, 2000 3:27 PM To: PHP-General Mailing List Subject: Re: [PHP] Can't connect to MySQL On Mon, Aug 21, 2000 at 03:19:04PM -0700, Brian Rue wrote: > Hi, > > I'm not able to connect to MySQL from the following script: > <? > # connect to the db and see if the username and pwrd are valid > $db = > mysql_connect("www.instantpublicity4u.com","drue","password") or > die("It didn't work."); > mysql_select_db(ipdb,$db); > ?> > Is this the script? If so, please help me there. If not, what other causes are there for this > problem? check with phpinfo, you will know that your php support mysql or not -- better the devil you know than the devil you don't know http://php.klik.or.id/fla <- PhpFlashCounter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12828) next »