Re: Testing MySQL failed ???

From: Date: Sun, 01 Apr 2001 13:10:45 +0000
Subject: Re: Testing MySQL failed ???
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-8081@lists.php.net to get a copy of this message
I have use other example and set the '/var/lib/mysql/mysql.sock' to chmod 777 <?php $link = mysql_connect ("localhost", "", "") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); ?> this example work Thank you everybody............. Ted Rolle <ted@acacia.datacomm.com> wrote in message news:Pine.LNX.4.21.0103311507040.29180-100000@server.acacia.datacomm.com... > Excellent diagnosis, sir! However, it is woefully and pitifully short on > curative information. > > On Sun, 1 Apr 2001, Felix Kronlage wrote: > > > On Sun, Apr 01, 2001 at 06:50:24PM +0800, Szeto wrote: > > > > > I am new to Linux environment........ > > > > so what. You could still read the error-message: > > > > | Warning: MySQL Connection Failed: Can't connect to local MySQL server > > | through socket '/var/lib/mysql/mysql.sock' (111) in > > > > this suggests, that you take a look at /var/lib/mysql to see if mysql.sock > > is there. > > > > -fkr > > -- > > gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 > > |http://www.hazardous.org/ | whois -h whois.ripe.de > > FKR-RIPE | > > |all your base are belong to us | shame on me | fkr@IRCnet | > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > > For additional commands, e-mail: php-db-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#8081) next »