Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2012-04-13 Thread Claudio Nanni
Hi you have to see the reason in the mysql log file, that is a file either in the datadir with .err extension or in the /var/log directory. tail the last 30 lines you will see the reason why it failed to start. Claudio 2012/4/11 Prabhat Kumar > did you check permission of file /var/run/mysqld/

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2012-04-11 Thread Prabhat Kumar
did you check permission of file /var/run/mysqld/mysqld.sock On Wed, Apr 11, 2012 at 9:48 AM, Larry Martell wrote: > On Wed, Apr 11, 2012 at 2:51 AM, Ganesh Kumar wrote: > > Hi Guys, > > > > I am using debian squeeze it's working good, I am trying to install > > mysql-server. mysql-server instal

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2012-04-11 Thread Larry Martell
On Wed, Apr 11, 2012 at 2:51 AM, Ganesh Kumar wrote: > Hi Guys, > > I am using debian squeeze it's working good, I am trying to install > mysql-server. mysql-server installation successfully but didn't start > service > root@devel:/var/run# more /etc/mysql/my.cnf |grep socket > # Remember to edit

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2012-04-11 Thread mail...@securitylabs.it
Il 11/04/2012 10:51, Ganesh Kumar ha scritto: Hi Guys, I am using debian squeeze it's working good, I am trying to install mysql-server. mysql-server installation successfully but didn't start root@devel:~# /etc/init.d/mysql restart Stopping MySQL database server: mysqld. Starting MySQL databa

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2009-10-27 Thread F.A.I.Z.A.L
Hi thanks for your reply. i found the problem, the problem was due to maintenance activity IT team rebooted the machine but they didn't start the mysql server after reboot. i executed mysqld with root credit. i got the below output but still the cursor not return to prompt bash-2.03# /usr/local

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2009-10-26 Thread lists
The socket hets created when you start the server It might be in the mysql home dir, it might be in /var/run. See if its declared in my.cnf Sent via BlackBerry from T-Mobile -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

2008-04-06 Thread Moon's Father
Make sure your mysqld is running On Fri, Apr 4, 2008 at 3:24 AM, Joerg Bruehe <[EMAIL PROTECTED]> wrote: > Hi, > > > Vidal Garza wrote: > > > [[...]] > > > > I have a cuestion, where do you find the system header files error > > number (61)? > > > > I do that brute-force: > > #! /bin/sh > # >

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

2008-04-03 Thread Joerg Bruehe
Hi, Vidal Garza wrote: [[...]] I have a cuestion, where do you find the system header files error number (61)? I do that brute-force: #! /bin/sh # # FGIN shell script to use "fgrep" on all "/usr/include/h" files # # $1, $2, ... options and arguments given to "fgr

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

2008-04-03 Thread Vidal Garza
Krishna Chandra Prajapati escribió: Just try mysqladmin ping that whether mysql is working or not Krishna On Thu, Apr 3, 2008 at 5:45 AM, Vidal Garza <[EMAIL PROTECTED]> wrote: Hi... I need test mysql connections but i have a problem... freebsd# uname -a FreeBSD freebsd.aduanet.net 6.3-RE

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

2008-04-03 Thread Joerg Bruehe
Hi Vidal, all ! Vidal Garza wrote: Hi... I need test mysql connections but i have a problem... freebsd# uname -a FreeBSD freebsd.aduanet.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 [EMAIL PROTECTED] :/usr/obj/usr/src/sys/GENERIC i386 freebs

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

2008-04-02 Thread Krishna Chandra Prajapati
Just try mysqladmin ping that whether mysql is working or not Krishna On Thu, Apr 3, 2008 at 5:45 AM, Vidal Garza <[EMAIL PROTECTED]> wrote: > Hi... > I need test mysql connections but i have a problem... > > freebsd# uname -a > FreeBSD freebsd.aduanet.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed

Re: ERROR 2002 (HY000): Can't connect to local MySQL server

2007-06-20 Thread Michael Cole
AIL PROTECTED] > Sent: Tuesday, June 19, 2007 12:48 PM > To: John Mancuso > Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server > > mysqld_safe > Starting mysqld daemon with databases from /var/lib/mysql STOPPING > server from pid file /var/run/mysqld/m

RE: ERROR 2002 (HY000): Can't connect to local MySQL server

2007-06-19 Thread John Mancuso
:48 PM To: John Mancuso Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql STOPPING server from pid file /var/run/mysqld/mysqld.pid 070619 17:40:10 mysqld ended --- John Mancuso <[EMAIL PROTECTED]>

RE: ERROR 2002 (HY000): Can't connect to local MySQL server

2007-06-19 Thread John Mancuso
jn [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 12:25 PM To: John Mancuso Subject: RE: ERROR 2002 (HY000): Can't connect to local MySQL server Hiya, I could not find .err file anywhere. and my mysql.sock file is showing 0 bytes in it. - ash# --- John Mancuso <[EMAIL PROTECTED

RE: ERROR 2002 (HY000): Can't connect to local MySQL server

2007-06-19 Thread John Mancuso
Have you looked in your mysql error log in your data directory? Check //.err FYI- the locate command needs to be updated. It can show old info if you don't run updatedb frequently John Mancuso Linux Administrator/MySQL DBA IT Infrastructure American Home Mortgage w: 631-622-6382 c: 516-652-2475

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2005-03-09 Thread Gleb Paharenko
Hello. See: http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html Billy Pilgrim <[EMAIL PROTECTED]> wrote: > Hello, I installed MySQL 4.1.10 on Debian Ubuntu based following these > directions: > http://dev.mysql.com/doc/mysql/en/installing-binary.html > I then logged