Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

Re: [PHP-DB] MySql From: CC Zona (cczona <email protected>)
Date: 01/03/01

In article <20010103174627.563.qmail <email protected>>,
jaymederr <email protected> (Jayme Derr) wrote:

> I have used telnet to reach the db, so I
> know it is there. Problem. I have a user name and
> password to get on the machine, and then I type a
> command in to actually see the MySql db. Before I see
> the mysql prompt, I have to type in a separate
> password.
<snip>
> How do I connect to the
> database with the different password?

Use the *second set of username and password, together with the server
hostname (ex. "mydomain.com") in your mysql_connect() call.

-- 
CC

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>