Re: mysql_pconnect issue
| From: | Chris | Date: | Mon, 12 May 2008 04:27:44 +0000 |
| Subject: | Re: mysql_pconnect issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274168@lists.php.net to get a copy of this message | ||
bruce wrote:
> hi...
>
> running into a problem that i can't seem to solve...
>
> using mysql_pconnect() and i'm trying to figure out what parameters have to
> be used in order to connect to a local mysql session, where mysql is
> accessed using the defaults (ie, no user/passwd/hostIP)
Use 'localhost' for the host, no idea what you'd use for the user/pass,
but mysql requires a username at least. If you're not entering one, it's
using the username you are logged in as.
--
Postgresql & php tutorials
http://www.designmagick.com/