[PHP-DB] Testing MySQL failed ???

2001-03-31 Thread Szeto
Hello The code below i use in testing the connection (written in php4) ? if(!mysql_connect("localhost","khaimun","akyweb")) { print "could not connect to mysql!"; } mysql_select_db("focalmail"); ? --- Warning: MySQL Connection Failed: Can't connect to local MySQL

Re: [PHP-DB] Testing MySQL failed ???

2001-03-31 Thread Szeto
the MySQL is on coz, it show in top Ted Rolle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Mysql isn't up? On Sun, 1 Apr 2001, Szeto wrote: Hello The code below i use in testing the connection (written in php4) ? if(!mysql_connect(&q

Re: [PHP-DB] Testing MySQL failed ???

2001-03-31 Thread Szeto
I am new to Linux environment what is mean by socket and what is the file.extensive and location Felix Kronlage [EMAIL PROTECTED] wrote in message 20010401003741.A5849@mad">news:20010401003741.A5849@mad... On Sun, Apr 01, 2001 at 06:05:28PM +0800, Szeto wrote: the MySQL i

Re: [PHP-DB] Testing MySQL failed ???

2001-03-31 Thread Szeto
ink); ? this example work Thank you everybody. Ted Rolle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Excellent diagnosis, sir! However, it is woefully and pitifully short on curative information. On Sun, 1 Apr 2001, Felix Kronlage wrote: On