RE: [PHP] PHP with MySQL

From: Date: Fri, 03 May 2002 04:27:49 +0000
Subject: RE: [PHP] PHP with MySQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95806@lists.php.net to get a copy of this message
mysql_connect("host","username","password"); If there is no password, leave it blank. "host" is the name or IP address of the MySQL server. Set it to localhost if it's on the same machine as the script. ---John Holmes... > -----Original Message----- > From: Paras Mukadam [mailto:parasmk@yahoo.com] > Sent: Thursday, May 02, 2002 12:46 PM > To: php-general@lists.php.net > Subject: [PHP] PHP with MySQL > > Hi Gurus, > one MySQL - PHP query : while granting permissions to particular user in > MySQL, the administrator has to give username@machine_address !! Then how > can we connect to MySQL through PHP only by passing "username" as one of > the > arguments to mysql_connect() ? > > Thanks. > Paras. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#95806) next »