Re: Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th
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-us&page=byoa/plus&ST=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
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 +0000 Subject: Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th I just install MYSQL on Linux (Red Hat 9)using this manual:http://www.mysql.com/doc/en/Installing_binary.htmlHave no idea what's wrong. I looked on the mysql.log file and the file is empty.ERROR MESSAGE:[EMAIL PROTECTED] bin]# ./mysqlERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)[EMAIL PROTECTED] bin]# ./mysql statusERROR 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-us&page=byoa/plus&ST=1-- MySQL General Mailing ListFor list archives: http://lists.mysql.com/mysqlTo unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] ___ 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]
Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th
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-us&page=byoa/plus&ST=1 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]