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: the mystery of the missing mysql.sock file

2009-12-15 Thread Keith Murphy
7. It has >> been >> up and running under load for quite some time. I am using xtrabackup for >> backups and suddenly three or four days ago backup stop running. >> >> Investigation shows that the socket file '/tmp/mysql.sock' is no longer >> there. T

Re: the mystery of the missing mysql.sock file

2009-12-15 Thread Johan De Meersman
ago backup stop running. > > Investigation shows that the socket file '/tmp/mysql.sock' is no longer > there. The mysql server itself is still functioning .. you can specify > --host=localhost instead of --socket=/tmp/mysql.sock so the mysql client > uses tcp/ip instead of the socket fil

the mystery of the missing mysql.sock file

2009-12-15 Thread Keith Murphy
Take one perfectly functional production server running 5.0.77. It has been up and running under load for quite some time. I am using xtrabackup for backups and suddenly three or four days ago backup stop running. Investigation shows that the socket file '/tmp/mysql.sock' is no longer

Re: socket '/tmp/mysql.sock' (2)

2009-11-05 Thread Claudio Nanni
ircumvention or permanent fix. Why is it pointing to a /tmp/Mysql.sock when one socket exists in /var/lib/Mysql *From:* Claudio Nanni [mailto:claudio.na...@gmail.com] *Sent:* Wednesday, November 04, 2009 2:54 AM *To:* Brown, Charles *Cc:* mysql@lists.mysql.com *Subject:* Re: RE: socket '/t

Re: RE: socket '/tmp/mysql.sock' (2)

2009-11-04 Thread Claudio Nanni
ey, Robert L; mysql@lists.mysql.com Subject: socket '/tmp/mysql.sock' (2) Hello All, I desperately need your help. I migrated from version 5.0.27 To version 5.0.77 Here ...

RE: socket '/tmp/mysql.sock' (2)

2009-11-03 Thread Brown, Charles
From: Brown, Charles Sent: Tuesday, November 03, 2009 2:54 PM To: Ramsey, Robert L; mysql@lists.mysql.com Subject: socket '/tmp/mysql.sock' (2) Hello All, I desperately need your help. I migrated from version 5.0.27 To version 5.0.77 H

socket '/tmp/mysql.sock' (2)

2009-11-03 Thread Brown, Charles
these messages: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) My question is, is it possible that I have destroyed ( clobbered) the MYSQL catalog via my migration process? Can someone

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
/usr/local/mysql/libexec/mysqld -u root 091027 15:35:09 InnoDB: Started; log sequence number 0 625687 091027 15:35:10 [Note] /usr/local/mysql/libexec/mysqld: ready for connections. Version: '5.0.51-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution can you verify thi

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/

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

2009-10-26 Thread F.A.I.Z.A.L
hi experts ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) iam facing the above error while connecting the mysql database. i am also checked the mysql.sock socket file is not in /tmp. could you please help me to fix this problem. wh

Fw: mysqlcheck: Got error 202: Can't connect to local MySQL server through socket '/home/qsys/mysql-5.1.32/temp/mysql.sock'

2009-05-03 Thread michel
--prefix=/home/qsys/mysql-5.1.32 \ --with-unix-socket-path=/home/qsys/mysql-5.1.32/tmp/mysql.sock make make install mkdir /home/qsys/mysql-5.1.32/var /home/qsys/mysql-5.1.32/bin/mysql_upgrade at this point I get mysqlcheck: Got error 202: Can't connect to local MySQL server through s

mysqlcheck: Got error 202: Can't connect to local MySQL server through socket '/home/qsys/mysql-5.1.32/temp/mysql.sock'

2009-05-03 Thread michel
-socket-path=/home/qsys/mysql-5.1.32/tmp/mysql.sock make make install mkdir /home/qsys/mysql-5.1.32/var /home/qsys/mysql-5.1.32/bin/mysql_upgradeat this point I get mysqlcheck: Got error 202: Can't connect to local MySQL server through socket '/home/qsys/mysql-5.1.32/temp/mysql.sock'

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
ySQL server through socket '/tmp/mysql.sock' (61) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) [[...]] That 61 is not for decorative purposes, it has a significance. Search your system header files for the error number 61, it

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

2008-04-02 Thread Krishna Chandra Prajapati
reeBSD 6.3-RELEASE #0: Wed Jan 16 > 04:18:52 UTC 2008 [EMAIL PROTECTED] [EMAIL PROTECTED]>:/usr/obj/usr/src/sys/GENERIC i386 > freebsd# mysql --version > mysql Ver 14.12 Distrib 5.0.51a, for portbld-freebsd6.3 (i386) using 5.2 > freebsd# more /var/db/mysql/my.cnf > [CLIENT] &

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

2008-04-02 Thread Vidal Garza
14.12 Distrib 5.0.51a, for portbld-freebsd6.3 (i386) using 5.2 freebsd# more /var/db/mysql/my.cnf [CLIENT] port = 3306 socket = /tmp/mysql.sock [MYSQLD] port = 3306 ndbcluster socket = /tmp/mysql.sock query_cache_type = 1 query_cache_size = 26214400 ndb-connectstring=192.168.6.1 max_user_connections

Re: /tmp/mysql.sock dissapears

2008-03-01 Thread Ian
gs >/dev/null > >>> [ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} > >>> > >> ${mysql_dbdir} > >> > >>> } > >>> > >>> mysql_prestart() > >>> { > >>> if [ ! -d "

Re: /tmp/mysql.sock dissapears

2008-02-29 Thread Ian
Hi, I dont know about network, but I know using php we cant access anything in MySQL once the file is gone. When it happens again, ill be sure to check network. Cheers Ian On Fri, Feb 29, 2008 at 12:54 PM, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > Ian schrieb: > > Hi, > > > > I wouldnt have

Re: /tmp/mysql.sock dissapears

2008-02-29 Thread Sebastian Mendel
Ian schrieb: Hi, I wouldnt have thought so but whenever that file is missing and try the stop/restart it just sits at the waiting for pids part of the stop loop (where it lists the pids), and it never stops the server - i have left it for over an hour and it never stops - just keeps on in the st

Re: /tmp/mysql.sock dissapears

2008-02-29 Thread Ian
. Cheers Ian On Fri, Feb 29, 2008 at 12:43 PM, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > Ian schrieb: > > Hi, > > > > I am running mysql 5.0.45 on freebsd 4.11 and for some strange reason > > /tmp/mysql.sock keeps on disappearing and we are forced to kill -9 mysq

Re: /tmp/mysql.sock dissapears

2008-02-29 Thread Sebastian Mendel
Ian schrieb: Hi, I am running mysql 5.0.45 on freebsd 4.11 and for some strange reason /tmp/mysql.sock keeps on disappearing and we are forced to kill -9 mysql and restart it causing db corruptions as there is no other way of telling it to stop once that file has gone. I have tried to find any

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Ian
return 0 > > fi > > } > > > > run_rc_command "$1" > > > > In rc.conf we have: > > mysql_enable="YES" > > mysql_args="--myisam-recover=BACKUP,FORCE" > > > > Here is the ps of it running: > > # ps

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Ian
Hi, No, there is nothing in there cleaning /tmp. Mind you, further investigating there are still some temp files in there from last year - so the directory isnt getting wiped clean. Thanks :) On Fri, Feb 29, 2008 at 3:36 AM, Steve Bernacki <[EMAIL PROTECTED]> wrote: > Does the system in questio

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Steve Bernacki
Does the system in question have some type of "/tmp" cleaner script that might be removing the socket file? Check /etc/crontab and root's crontab (crontab -l) Steve

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Vidal Garza
name.pid --myisam-recover=BACKUP,FORCE 78548 p0- S180:27.77 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/hostname.pid --port=3306 --socket=/tmp/mysql.sock --myisam-recover=BACKUP,FORCE W

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Ian
9 p0- I 0:00.01 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/hostname.pid --myisam-recover=BACKUP,FORCE 78548 p0- S180:27.77 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --

Re: /tmp/mysql.sock dissapears

2008-02-28 Thread Vidal Garza
--bind-address=$ip --port=$port --sock=$sockfile & Ian escribió: Hi, I am running mysql 5.0.45 on freebsd 4.11 and for some strange reason /tmp/mysql.sock keeps on disappearing and we are forced to kill -9 mysql and restart it causing db corruptions as there is no other way of telling it

/tmp/mysql.sock dissapears

2008-02-28 Thread Ian
Hi, I am running mysql 5.0.45 on freebsd 4.11 and for some strange reason /tmp/mysql.sock keeps on disappearing and we are forced to kill -9 mysql and restart it causing db corruptions as there is no other way of telling it to stop once that file has gone. I have tried to find any reason why this

Re: mysql.sock deleted

2006-07-20 Thread Ian
On 20 Jul 2006 at 16:56, Vitaliy Okulov wrote: > , Deniss. > > 20 2006 ., 15:59:10: > > > Hi All > > > While I am doing portupgrade -vr mysql on freebsd server > > > than mysql socket"/tmp/mysql.sock" is invisible on, so mysql cant be start

Re: mysql.sock deleted

2006-07-20 Thread Vitaliy Okulov
Здравствуйте, Deniss. Вы писали 20 июля 2006 г., 15:59:10: > Hi All > While I am doing portupgrade -vr mysql on freebsd server > than mysql socket"/tmp/mysql.sock" is invisible on, so mysql cant be start > How I can create mysql socket. > How I can start mysql &g

mysql.sock deleted

2006-07-20 Thread Deniss Hennesy
Hi All While I am doing portupgrade -vr mysql on freebsd server than mysql socket"/tmp/mysql.sock" is invisible on, so mysql cant be start How I can create mysql socket. How I can start mysql thanks

Can't connect to mysql.sock

2006-07-14 Thread Dave M G
d go with the MySQL default. I have tried specifying "mysql.default_socket = /var/run/mysqld/mysql.sock" and "mysql.default_socket = /tmp/mysql.sock", but that hasn't helped. As for /etc/mysql/my.cnf, it says: - - - - - - - - - [mysqld] pid-file= /var/run/my

Re: error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'

2006-03-28 Thread mysql
On Tue, 28 Mar 2006, Áquila Chaves wrote: > To: mysql@lists.mysql.com > From: Áquila Chaves <[EMAIL PROTECTED]> > Subject: error: 'Can't connect to local MySQL server through socket > '/tmp/mysql.sock' > > - When I execute the command "m

error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'

2006-03-28 Thread Áquila Chaves
press } */ [EMAIL PROTECTED] mysql]# - The log message is: 060323 16:51:11 mysqld started 060323 16:51:11 InnoDB: Started; log sequence number 0 43655 060323 16:51:11 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '5.0.19-standard' socket: '/var/lib/mysql/mysql.

RE: mysql.sock gone

2006-03-17 Thread Anton Krall
No errrs on the error log.. This is very weird... |-Original Message- |From: ? ??? [mailto:[EMAIL PROTECTED] |Sent: Wednesday, March 15, 2006 6:12 AM |To: Anton Krall; mysql@lists.mysql.com |Subject: Re: mysql.sock gone | |Look at mysql's error log ($MYSQL_DAT

Re: mysql.sock gone

2006-03-15 Thread Косов Евгений
Look at mysql's error log ($MYSQL_DATA_DIR/$HOSTNAME.err). Do you see anything strange there? Anton Krall wrote: No crons that would delete the tmp directory.. In fact, all the other files stay there... Just mysql.sock goes away... |-Original Message- |From: Logan, David

RE: mysql.sock gone

2006-03-14 Thread Anton Krall
No crons that would delete the tmp directory.. In fact, all the other files stay there... Just mysql.sock goes away... |-Original Message- |From: Logan, David (SST - Adelaide) [mailto:[EMAIL PROTECTED] |Sent: Tuesday, March 14, 2006 3:15 PM |To: Anton Krall; mysql@lists.mysql.com

RE: mysql.sock gone

2006-03-14 Thread Logan, David (SST - Adelaide)
:38 AM To: mysql@lists.mysql.com Subject: mysql.sock gone Guys. I just started having a problem, Im running mysql-standard-4.1.12-pc-linux-gnu-i686 binaries under Fedora Core 3 and Ive been having problem where during some parts of the day, /tmp/mysql.oskc goes away, I can still see mysql running

mysql.sock gone

2006-03-14 Thread Anton Krall
says it cant connect thru mysql.sock What could be the cause that would make mysql.sock dissapear? Thx for any help you can provide -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: problem on mysql.sock and mysql.host

2006-01-19 Thread Gleb Paharenko
exist > > service configuration says: > mysqld dead but subsys locked. > > i can't find any mysql.sock in /var/lib/mysql > > i reinstalled MySQL through yum but error is still the > same. > > i was able to run MySQL before. i was even able to > replicat

problem on mysql.sock and mysql.host

2006-01-19 Thread Chen Abella
i cant start mysql. error in the log says: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist service configuration says: mysqld dead but subsys locked. i can't find any mysql.sock in /var/lib/mysql i reinstalled MySQL through yum bu

problem on mysql.sock and mysql.host

2006-01-19 Thread Chen Abella
i cant start mysql. error in the log says: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist service configuration says: mysqld dead but subsys locked. i can't find any mysql.sock in /var/lib/mysql i reinstalled MySQL through yum bu

Problems with mysql.sock

2005-11-22 Thread Chip Lambert
Hello all I've installed MySQL Server 5.0.16 and MySQL Client 5.0.16 (from the RPMs on the MySQL site) on a server running Fedora Core 4. Every time I try to start the service, I get the Unable to connect to the MySQL server through the /tmp/mysql.sock error. I've tried several thing

Re: problem with mysql.sock

2005-09-27 Thread Ed Curtis
rror I get is "Can't connect to local > MySQL server through socket > '/var/lib/mysql/mysql.sock' (13)". > And I'm sure that MYSQL server is running and able tp > connect from command prompt. > > > > I have been searching on the net for the same fro

RE: problem with mysql.sock

2005-09-26 Thread Logan, David (SST - Adelaide)
d Services 148 Frome Street, Adelaide 5000 Australia +61 8 8408 4273 - Work +61 417 268 665 - Mobile +61 8 8408 4259 - Fax -Original Message- From: Sandhya Reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, 27 September 2005 4:03 PM To: mysql@lists.mysql.com Subject: problem with mysql.sock

problem with mysql.sock

2005-09-26 Thread Sandhya Reddy
through socket '/var/lib/mysql/mysql.sock' (13)". And I'm sure that MYSQL server is running and able tp connect from command prompt. I have been searchi

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

2005-09-13 Thread Michael Stassen
Ed Collins wrote: Description: I get the following message "error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)'" This is the error the client gives when it cannot connect to the server, usually because the server i

error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)'

2005-09-13 Thread Ed Collins
>Description: I get the following message "error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)'" Everything has run fine for along time. This is running on OS X server 10.3 and ever since the ran the last software upda

Re: Can't open privilege tables/mysql.sock

2005-07-11 Thread Tim Johnson
> > hmm! mysql.sock was created at var/lib/mysql. > > owner=mysql, permissions=777 > > So again, is there paths/permissions problems? > > > > > Since this is where your my.cnf says to put it, it would be a problem if > it was not there. > If you are going

Re: Can't open privilege tables/mysql.sock

2005-07-11 Thread gerald_clark
oup to mysql as per my redhat setup. More problems tho: == When invoking mysql, I get the following error message: """ Can't connect to local MySQL server through socket at 'var/lib/run/mysql/mysql.sock' """ hmm! mysql.sock was creat

Re: Can't open privilege tables/mysql.sock

2005-07-11 Thread Tim Johnson
s per my redhat setup. More problems tho: == When invoking mysql, I get the following error message: """ Can't connect to local MySQL server through socket at 'var/lib/run/mysql/mysql.sock' """ hmm! mysql.sock was created

Re: Newbie mysql.sock question

2005-06-16 Thread Danny Stolle
Paul Mitchell wrote: On Tue, 14 Jun 2005, Danny Stolle wrote: if i start my mysqld it creates a mysql.sock because of an option in my.cnf: socket="/tmp/mysql.sock" when i `mysqladmin -u root shutdown` the database, the mysql.sock is removed. does your system errors when start

Re: Newbie mysql.sock question

2005-06-16 Thread Santino
You need to run the script that creates MySql tables (user, hosts, ...) mysql_install_db in scripts dir. Santino At 15:20 -0400 16-06-2005, Paul Mitchell wrote: On Tue, 14 Jun 2005, Danny Stolle wrote: if i start my mysqld it creates a mysql.sock because of an option in my.cnf: socket="

Re: Newbie mysql.sock question

2005-06-16 Thread Paul Mitchell
On Thu, 16 Jun 2005, Spenser wrote: Try it with an absolute file path instead of a relative one. For instance, /usr/local/mysql/bin/mysqld_safe --user=mysql --datadir = /usr/local/mysql/tmp same old... /usr/local/mysql/bin/mysqld_safe --user=mysql --datadir=/usr/local/mysql/tmp & cat ../

Re: Newbie mysql.sock question

2005-06-16 Thread Spenser
Try it with an absolute file path instead of a relative one. For instance, /usr/local/mysql/bin/mysqld_safe --user=mysql --datadir = /usr/local/mysql/tmp On Thu, 2005-06-16 at 15:20 -0400, Paul Mitchell wrote: > > ./mysqld_safe --user=mysql --datadir=/usr/local/mysql/tmp -- MySQL General Ma

Re: Newbie mysql.sock question

2005-06-16 Thread Paul Mitchell
On Tue, 14 Jun 2005, Danny Stolle wrote: if i start my mysqld it creates a mysql.sock because of an option in my.cnf: socket="/tmp/mysql.sock" when i `mysqladmin -u root shutdown` the database, the mysql.sock is removed. does your system errors when starting mysqld? Hello Danny,

Re: Newbie mysql.sock question

2005-06-14 Thread Danny Stolle
Paul Mitchell wrote: Hello All, I'm trying to get mediawiki working on a solaris 9 domain (this is on a Sun 15k, FWIW). I had mysql installed and in a fit of stupidity, managed to remove /tmp/mysql.sock. After scouring the Usenet via google, and searching through the archiv

Newbie mysql.sock question

2005-06-14 Thread Paul Mitchell
Hello All, I'm trying to get mediawiki working on a solaris 9 domain (this is on a Sun 15k, FWIW). I had mysql installed and in a fit of stupidity, managed to remove /tmp/mysql.sock. After scouring the Usenet via google, and searching through the archives at lists.mysql.com, I'm

Re: no /tmp/mysql.sock

2005-05-06 Thread Mark Sargent
Hassan Schroeder wrote: Mark Sargent wrote: ... but, my real query, now, is, why the configs/my.cnf were different, Because there isn't any /etc/my.cnf created on your system by default; you are responsible for creating one if needed, using the examples in the ./support-files subdirectory. Obviou

Re: no /tmp/mysql.sock

2005-05-06 Thread Hassan Schroeder
Mark Sargent wrote: ... but, my real query, now, is, why the configs/my.cnf were different, Because there isn't any /etc/my.cnf created on your system by default; you are responsible for creating one if needed, using the examples in the ./support-files subdirectory. Obviously the /etc/my.cnf on y

Re: no /tmp/mysql.sock

2005-05-05 Thread Mark Sargent
Simon Garner wrote: On 6/05/2005 4:18 p.m., Mark Sargent wrote: Ok, I just took a punt, and changed the setting in my.cnf to reflect the config settings, to /tmp/mysql.sock, and all is well. What I don't un, is, why the default settings were like this, I certainly made no changes to eithe

Re: no /tmp/mysql.sock

2005-05-05 Thread Simon Garner
On 6/05/2005 4:18 p.m., Mark Sargent wrote: Ok, I just took a punt, and changed the setting in my.cnf to reflect the config settings, to /tmp/mysql.sock, and all is well. What I don't un, is, why the default settings were like this, I certainly made no changes to either the configs o

Re: no /tmp/mysql.sock

2005-05-05 Thread Mark Sargent
Mark Sargent wrote: Mark Sargent wrote: Simon Garner wrote: Mark Sargent wrote: Hi All, mysql is running, but, there seems to be no /tmp/mysql.sock file. How is this file generated..? I can't connect, keep getting errors. What about via a port..? What is the argument for that..? Cheers.

Re: no /tmp/mysql.sock

2005-05-05 Thread Mark Sargent
Mark Sargent wrote: Simon Garner wrote: Mark Sargent wrote: Hi All, mysql is running, but, there seems to be no /tmp/mysql.sock file. How is this file generated..? I can't connect, keep getting errors. What about via a port..? What is the argument for that..? Cheers. Mark Sargent. It'

Re: no /tmp/mysql.sock

2005-05-05 Thread Mark Sargent
Simon Garner wrote: Mark Sargent wrote: Hi All, mysql is running, but, there seems to be no /tmp/mysql.sock file. How is this file generated..? I can't connect, keep getting errors. What about via a port..? What is the argument for that..? Cheers. Mark Sargent. It's probably not i

Re: no /tmp/mysql.sock

2005-05-05 Thread Simon Garner
Mark Sargent wrote: Hi All, mysql is running, but, there seems to be no /tmp/mysql.sock file. How is this file generated..? I can't connect, keep getting errors. What about via a port..? What is the argument for that..? Cheers. Mark Sargent. It's probably not in /tmp any more. Tr

no /tmp/mysql.sock

2005-05-05 Thread Mark Sargent
Hi All, mysql is running, but, there seems to be no /tmp/mysql.sock file. How is this file generated..? I can't connect, keep getting errors. What about via a port..? What is the argument for that..? Cheers. Mark Sargent. -- MySQL General Mailing List For list archives: http://lists.mysq

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

2005-03-09 Thread Gleb Paharenko
> I then logged in, changed root password, used test database, etc. > > Now after reboot I cannot connect. I get this: > > [EMAIL PROTECTED]:/usr/local/mysql/bin # ./mysql -u root -p > Enter password: > ERROR 2002 (HY000): Can't connect to local MySQL serv

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

2005-03-08 Thread Billy Pilgrim
# ./mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Please give options if this involves: manual server start, setting up autostart, etc. Thanks -- MySQL General Mailing List For list archives: http://lists.

Re: mysql.sock file exists, but still cannot connect to server

2005-01-20 Thread Alex Majora
Okay, with the good help I was getting, and looking at the all clues MySQL was giving me, like "Table 'mysql.host' doesn't exist" and "Can't find file: './mysql/host.frm'", I concluded that the 4.1.9 installation conflicts with the default 4.0.18 installation. For instance, 4.0.18 expects files

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Alex Majora
On Wednesday, January 19, 2005 9:14 PM Michael Stassen wrote: Details should be in the .err file in the data directory Here's the contents of the file: 050119 17:30:02 mysqld started 050119 17:30:02 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/m

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Michael Stassen
Details should be in the .err file in the data directory (/usr/local/mysql/data/whitestar.alpha.net.err, in your case). Michael Alex Majora wrote: Additionally, this is what I get when I try to launch mysqld manually: $ sudo ./bin/mysqld_safe & [1] 2058 Starting mysqld daemon with databases from

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Michael Stassen
no mysqld process running in the ps -aux listing. However, if I try to start mysqld up again, I get: 050119 14:48:43 Can't start server : Bind on unix socket: Address already in use 050119 14:48:43 Do you already have another mysqld server running on socket: /tmp/mysql.sock ?

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Alex Majora
Additionally, this is what I get when I try to launch mysqld manually: $ sudo ./bin/mysqld_safe & [1] 2058 Starting mysqld daemon with databases from /usr/local/mysql/data STOPPING server from pid file /usr/local/mysql/data/whitestar.alpha.net.pid 050119 17:13:12 mysqld ended Is there a way t

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Clint Edwards
The postmaster is a Postgres daemon, and pg_shadow is the user table for postgres. Clint From: Michael Stassen <[EMAIL PROTECTED]> To: Alex Majora <[EMAIL PROTECTED]> CC: mysql@lists.mysql.com Subject: Re: mysql.sock file exists, but still cannot connect to server Date: Wed, 19 Jan 2

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Alex Majora
running in the ps -aux listing. However, if I try to start mysqld up again, I get: 050119 14:48:43 Can't start server : Bind on unix socket: Address already in use 050119 14:48:43 Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 050119 14:48:43 Aborting

Re: mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Michael Stassen
e a message (syntax error) from mysql. 050119 12:37:34 Aborting 050119 12:37:34 /usr/libexec/mysqld: Shutdown Complete Not sure why, but mysqld just shut down. When I type "mysql" at the command line, I get: ERROR 2002: Can't connect to local MySQL server through socket &#x

mysql.sock file exists, but still cannot connect to server

2005-01-19 Thread Alex Majora
ng 050119 12:37:34 /usr/libexec/mysqld: Shutdown Complete When I type "mysql" at the command line, I get: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ...yet the file exists: srwxrwxrwx 1 mysql wheel0 19 Jan 12:35 mysql.sock An

Re: /tmp/mysql.sock disappeared on mac 10.3

2004-11-10 Thread Michael Stassen
Two possibilities: 1) mysqld could not create /tmp/mysql.sock because it is already there, which would mean mysqld is already running. It appears you've ruled this out. 2) User mysql does not have permission to write to /tmp. In Mac OS X, /tmp is a symlink to /private/tmp, so this r

Re: Re: /tmp/mysql.sock disappeared on mac 10.3

2004-11-10 Thread Kenji LEFEVRE
t: Permission denied 041110 20:33:42 Do you already have another mysqld server running on socket: /tmp/ mysql.sock ? 041110 20:33:42 Aborting 041110 20:33:42 /usr/local/mysql/bin/mysqld: Shutdown Complete 041110 20:33:42 mysqld ended Though i can't find any mysqld running on my computer. C

Re: /tmp/mysql.sock disappeared on mac 10.3

2004-11-10 Thread Gleb Paharenko
Hello. Check if another copy of mysqld process is running (may be it runs with lost mysql.sock file?). Check also permissions for .err file. And be sure you are starting MySQL as root, because it will suid to the user you have specified. See: http://dev.mysql.com/doc/mysql/en

Re: /tmp/mysql.sock disappeared on mac 10.3

2004-11-10 Thread Michael Stassen
, OS : macos X 10.3 mysql version 4.0.21, for apple-darwin6.8 (powerpc) it's seems that after my last crash, the socket of mysql '/tmp/mysql.sock' has been deleted (and i have read afterwards that it should have been protected with a sticky bit) i thought that restarting mysql da

/tmp/mysql.sock disappeared on mac 10.3

2004-11-10 Thread Kenji LEFEVRE
Hello, OS : macos X 10.3 mysql version 4.0.21, for apple-darwin6.8 (powerpc) it's seems that after my last crash, the socket of mysql '/tmp/mysql.sock' has been deleted (and i have read afterwards that it should have been protected with a sticky bit) i thought that restarti

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

2004-11-04 Thread ian douglas
In my experience, RedHat in their 'wisdom' put mysql.sock in /tmp/ yet ships their mysql-server.rpm with a my.cnf pointing at /var/lib/mysql/mysql.sock Make the necessary change to /etc/my.cnf to point to /tmp/mysql.sock, or change /etc/rc.d/init.d/mysql to point to /var/lib/mysql/

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

2004-11-04 Thread Greg Wiggill
iled error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! ps -ef | grep mysql root 725 1 0 Oct29 ?00:00:00 /bin/sh /usr/bin/

Re: Can't connect to local MySQL server through socket'/var/lib/m ysql/mysql.sock'

2004-11-01 Thread ian douglas
[EMAIL PROTECTED] root]# ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock [mysqld] port= 3306 socket = /var/lib/mysql/mysql.sock Which is fine ... you neglected to say whether or not that fixed your problem? -id -- MySQL General Mailing List For list archives: http

Re: Can't connect to local MySQL server through socket'/var/lib/m ysql/mysql.sock'

2004-11-01 Thread Cecep Rosuludin
ian, [EMAIL PROTECTED] root]# ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock [EMAIL PROTECTED] root]# this my script of my.cnf [client] port= 3306 socket = /var/lib/mysql/mysql.sock [mysqld] port= 3306 socket = /var/lib/mysql/mysql.sock skip-locking

Re: Can't connect to local MySQL server through socket'/var/lib/m ysql/mysql.sock'

2004-11-01 Thread ian douglas
ib_logfile1 drwx--x--x 2 mysql mysql 4096 Feb 23 2004 mysql/ -rw-rw 1 mysql root 7509 Nov 2 07:39 server6.cma-cgm.com.err drwxr-xr-x 2 mysql mysql 4096 Feb 23 2004 test/ Therein lies your problem: you can't connect to /var/lib/mysql/mysql.sock if it doesn't exist :o)

Re: Can't connect to local MySQL server through socket'/var/lib/m ysql/mysql.sock'

2004-11-01 Thread Cecep Rosuludin
ough socket'/var/lib/mysql/mysql.sock' Date: Mon, 01 Nov 2004 19:06:43 -0600 > > Well, this definitely indicates that the server's not running. Of > course, maybe that's what you were saying in your original posting. Try > checking the permissions of /var/lib/mysql o

Re: Can't connect to local MySQL server through socket'/var/lib/m ysql/mysql.sock'

2004-11-01 Thread Cecep Rosuludin
connect to local MySQL server through socket'/var/lib/mysql/mysql.sock' Date: Mon, 01 Nov 2004 18:51:09 -0600 > > I've had this happen when the server was down. If you're using Linux > check the processes: > > ps -e | grep mysql > > This has also happ

Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

2004-11-01 Thread Pahlevanzadeh Mohsen
It can has many reason: 1.Your Socket file doesn't exist! 2.If it does exist,Please kill your mysql & instead of running its daemon,run its file in bg mode. (with & sign) --- Cecep Rosuludin <[EMAIL PROTECTED]> wrote: > Dear AlL, > > my former question is "how to run mysql service". > but now

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

2004-11-01 Thread Cecep Rosuludin
Dear AlL, my former question is "how to run mysql service". but now i have run mysql service [EMAIL PROTECTED] root]# service mysql start Starting MySQL Server [ OK ] but i still cannot connect to mysql [EMAIL PROTECTED] root]# mysql ERROR 2002: Can'

RE: mysql.sock

2004-07-24 Thread B. van Ouwerkerk
mysql.sock is created when mysqld starts and exists only while it runs. B. > -Oorspronkelijk bericht- > Van: Levi Campbell [mailto:[EMAIL PROTECTED] > Verzonden: zaterdag 24 juli 2004 20:53 > Aan: [EMAIL PROTECTED]; mysql > Onderwerp: Re: mysql.sock > > > it

Re: mysql.sock

2004-07-24 Thread Levi Campbell
PM Subject: Re: mysql.sock Levi Campbell said: > Hi, I managed to install MySQL on Linux but now I can't find mysql.sock > either on my machine or on the CD. how do I create or find mysql.sock? Is MySQL running? check in /tmp or if it was an RPM install, check in /var/lib/mysq

  1   2   3   4   5   6   >