Re: [PHP-DB] php script connect to mySQL problem

2002-01-06 Thread Miles Thompson
Is mysqld running? Username? Password? At 08:30 PM 1/6/2002 -0500, Vu Hoang Huynh wrote: Hi all, I'm a newbie to PHP and mySQL and I'm currently running PHP+mySQL on my Linux 2.2.16 kernel. Every time I try to connect to mySQL from a php page, I get this error message: ERROR 2002: Can't

Re: [PHP-DB] php script connect to mySQL problem

2002-01-06 Thread Vu Hoang Huynh
Yes, mysqld was running. Username and password were provided via this function call $db = mysql_connect(localhost,username,password); I have to same problem when trying to connect to mysql server whenever I use any user other than root. So basically whenever I try to run mysql using root account