View Single Post

  #2 (permalink)  
Old 05-12-2008
Chris
 
Posts: n/a
Default Re: [PHP] mysql_pconnect issue

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/
Reply With Quote