Re: Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th

2004-01-18 Thread Victor Medina
Probably your server is not using any sockets, check out your my.cnf. 

man mysql 
to see how to connect to a ip based mysql host. C/ya!


On Sat, 2004-01-17 at 18:51, Mike Mapsnac wrote:

 I just install MYSQL on Linux (Red Hat 9)
 using this manual:http://www.mysql.com/doc/en/Installing_binary.html
 Have no idea what's wrong. I looked on the mysql.log file and the file is 
 empty.
 
 ERROR MESSAGE:
 [EMAIL PROTECTED] bin]# ./mysql
 ERROR 2002: Can't connect to local MySQL server through socket 
 '/tmp/mysql.sock' (2)
 [EMAIL PROTECTED] bin]# ./mysql status
 ERROR 2002: Can't connect to local MySQL server through socket 
 '/tmp/mysql.sock'
 
 _
 Scope out the new MSN Plus Internet Software  optimizes dial-up to the max! 
http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|

...
Programming today is a race between software engineers striving 
to build bigger and better idiot-proof programs, and the Universe 
trying to produce bigger and better idiots. 
So far, the Universe is winning.

Rich Cook


RE: Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th

2004-01-17 Thread Nicholas

Hi Mike,

You have to start the mysql server before you 
can run the client.  Try running mysqld_safe --user=mysql
from /usr/bin or /usr/local/bin, depending on where 
you installed it.

To see if it is running currently on your machine, 
try this:  ps -ef | grep mysqld

Hope this helps...

~~Nick




 --- On Sat 01/17, Mike Mapsnac  [EMAIL PROTECTED]  wrote:
From: Mike Mapsnac [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 17 Jan 2004 22:51:29 +
Subject: Mysql Installation on Linux:  ERROR 2002: Can't connect to local MySQL server 
th

I just install MYSQL on Linux (Red Hat 9)brusing this 
manual:http://www.mysql.com/doc/en/Installing_binary.htmlbrHave no idea what's 
wrong. I looked on the mysql.log file and the file is brempty.brbrERROR 
MESSAGE:br[EMAIL PROTECTED] bin]# ./mysqlbrERROR 2002: Can't connect to local 
MySQL server through socket br'/tmp/mysql.sock' (2)br[EMAIL PROTECTED] bin]# 
./mysql statusbrERROR 2002: Can't connect to local MySQL server through socket 
br'/tmp/mysql.sock'brbr_brScope
 out the new MSN Plus Internet Software — optimizes dial-up to the max! br   
http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1brbrbr-- brMySQL 
General Mailing ListbrFor list archives: http://lists.mysql.com/mysqlbrTo 
unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]brbr

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]