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
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/
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
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
> #
>
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
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
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
','`date +%d-%H:%M`','$cnt');"
> /usr/local/bin/mysql -u root -ppasswd -e "$query" MYDB >/dev/null
> if [ $cnt -eq 99 ];then
> break
> else
> cnt=`expr $cnt "+" 1`
> fi
> done
>
>
> but it return error on the scre
all connections finish ok. The errors not apear on mysql_error
file.
: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)
ERROR 2002 (HY000): Can't c
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
sock' port:
3306 MySQL Community Edition - Standard (GPL)
- Aparently it's OK. But when I execute the command below occurs the
following error:
[EMAIL PROTECTED] mysql]# bin/mysqladmin version
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't c
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
>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
> 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
# ./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.
What does, "rcmysql status" say?
--- Mark <[EMAIL PROTECTED]> wrote:
> Hi, I just installed 3.23.55 and I started getting
> this message when
> I run mysql from the shell.
>
> /tmp/mysql.sock exists and the permissions are right
> and mysqld is
> running, also the weird thing is that php is
> conn
Hi, I just installed 3.23.55 and I started getting this message when
I run mysql from the shell.
/tmp/mysql.sock exists and the permissions are right and mysqld is
running, also the weird thing is that php is connecting just fine.
any ideas?
thanks,
- Mark
-
Vince LaMonica wrote:
On Fri, 15 Nov 2002, Edwin Raj wrote:
} [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
} 'simple'
} /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
} error: 'Can't connect to local MySQL
On Fri, 15 Nov 2002, Edwin Raj wrote:
} [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
} 'simple'
} /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
} error: 'Can't connect to local MySQL server through socket
}
If this could help to analyse the problem, when I try to create a
password this is the message I get
[root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
'simple'
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can
Hello Friends,
I have installed mysql version 3.23.52 binary file. The installation
went well without any errors but when I type mysql in the command prompt
I get this error. Can someone help me fix this. Am using red hat 6.2 version
Rgds
Edwin
---
--- Carlos Rubio <[EMAIL PROTECTED]> wrote:
> I am geting the error:
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' on all
> pages requiring the use of mysql.
I got this error before too.
Here is how I fixed it:
(you probably have to do
Hi,
I am geting the error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' on all pages
requiring the use of mysql.
I suspect that the file mysql.sock was deleted by mistake by one of our programers. I
have find in the manual how to protect the file
ed as play."
- Plato (427 - 347 BC)
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Andrew Rich" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 10:01 PM
Subject: Re: Can't connect to local MySQL ser
On Thursday, April 25, 2002, at 04:17 PM, Andrew Rich wrote:
>
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
>
>
> Any ideas ?
You might need to specify the path to your socket file when you start
MySQL... did you specify a speci
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any ideas ?
-Original Message-
From: Shaun Bramley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25 April 2002 11:45 PM
To: [EMAIL PROTECTED]
Subject: Upgrade of mySQL on a Red Hat 7.2 - box
Ladie
;[EMAIL PROTECTED]>
> Cc: "Mike Yrabedra" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, March 26, 2002 2:56 PM
> Subject: Re: ERROR 2002: Can't connect to local
> MySQL server through socket
> '/tmp/mysql.sock' (2)
>
>
>
ROTECTED]>
Cc: "Mike Yrabedra" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 2:56 PM
Subject: Re: ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
>
>
> On Tue, 26 Mar 2002, colin o wrote:
on-root user, such as mysql.
> --- Mike Yrabedra <[EMAIL PROTECTED]> wrote:
> >
> > What would cause this error to occur all of a
> > sudden?
> >
> > ERROR 2002: Can't connect to local MySQL server
> > through socket
> > '/tmp/mysql.sock'
cur all of a
> sudden?
>
> ERROR 2002: Can't connect to local MySQL server
> through socket
> '/tmp/mysql.sock' (2)
>
> Server: Mac OS X 10.1.3
>
>
>
>
>
>
> >
>
-
What would cause this error to occur all of a sudden?
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Server: Mac OS X 10.1.3
> -
> Before posting,
gt; else that can be done to solve this problem, which, from scanning archives,
> is not an uncommon one.
> > When charley enters "mysql",
> > "Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)"
> > message appears.
> &g
g archives,
is not an uncommon one.
George P, Edinburgh
www.pingu.napier.ac.uk
- Original Message -
From: ½ÉÃæº¸ <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 5:24 AM
Subject: Can't connect to local MySQL server through socket
'/tm
I installed linux and mysql 3.23.40.
Root installed and started mysql and user (charley) wants to connect mysql.
When charley enters "mysql",
"Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)"
message appears.
Of course root can connect
Thank you for all your suggestions,
I got it.
the problem was in our web server because of security $ENV{HOME} doesnt
point to my home directory so my .my.cnf file was unreachable.
That's it.
may be It can be helpful for other people as well.
> my %attr = (
> PrintError =>0,
> Rai
I don't know for sure... perhaps, the apache+php binary just treats it
differently than when interacting with it directly from the shell...
I am a newbie and I just had the same problem 2 minutes ago...
hope it works out...
thanks,
shawn
On Tue, 29 May 2001, Mohammad Shoja wrote:
> Thanks for
Thanks for your reply
The question is why in command line there is no problem?
> It is looking for /tmp/mysql.sock and the one that exists is
> /tmp/mysql.sock.shoja
>
> Two different files.. It can't find what it is looking for. Try:
>
> safe_mysqld --socket=/tmp/mysql.sock
>
> and it should
>
> [client]
> port=3309
> socket=/tmp/mysql.sock.shoja
>
> Now the problem is when I'm trying to run my cgi from command prompt there
> is no error and it connect successfully.
>
> But when I'm trying to run it through web browser I get this error
> m
7;m trying to run my cgi from command prompt there
is no error and it connect successfully.
But when I'm trying to run it through web browser I get this error
message:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
and this is wondering because anyway
39 matches
Mail list logo