Re: MySql
| From: | CC Zona | Date: | Thu, 04 Jan 2001 03:40:51 +0000 |
| Subject: | Re: MySql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5586@lists.php.net to get a copy of this message | ||
In article <20010103174627.563.qmail@web3005.mail.yahoo.com>,
jaymederr@yahoo.com (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