Displaying 20 results from an estimated 40000 matches similar to: "Can't connect to local MySQL server through socket..."
2009 Nov 05
4
MySQL installation problem
Hi;
It's been a while since I controlled my own server and I'm rusty. Trying to
install mysql
yum install mysql
All looks well. Here's what happens:
[root at 13gems www]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[root at 13gems www]# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to
2009 Apr 29
1
Driving me nuts!!! - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I had to put a new HD in, and now I''m reinstalling everything, and
can''t get mysql to fully work. I can''t remember how I fixed it. I''ve
searched everywhere online and can''t find anything.
when I try to use the >mysql command I get this:
Can''t connect to local MySQL server through socket ''/tmp/
mysql.sock'' (2)
My first
2007 Jan 17
1
error when trying to create mysql database
hey guys
My macbook pro 17 had to be taken back to apple beuase of a dud screen,
so have had to install from macports again.
When i attempt to create a mysql database with this:
mysql5 -u root depot_development
i get this:
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/opt/local/var/run/mysql5/mysqld.sock'' (2)
any ideas?
cheers!
Adam
--
2007 Jan 27
2
Starting MySQL
When I run
# mysql
I get this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
What do I need to do? The install of MySQL was done as part of the
Centos setup.
Todd
2006 Aug 02
1
how to change rails mysql socket PATH from /var/run to /var/lib?
i have an app im installing that tries look for mysqld.sock in
/var/run/mysqld/mysqld.sock and mysql puts it at /var/lib/mysql/mysql.sock.
if i point mysql at /var/run the app works i.e mysqld
-socket=/var/run/mysqld/mysqld.sock; if i don''t i get an error that goes "
Showing app/views/articles/index.rhtml where line #35 raised:
No such file or directory -
2011 Mar 26
1
Error 2002 with MySQL on a new Centos 5.5 installation
With my new Centos installation, I get the following error when I
type in
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)
I have Googled the error, but the results do not appear to be helpful
Todd
--
Ariste Software
Petaluma, CA 94952
http://www.aristesoftware.com
-------------- next part --------------
An HTML
2013 Dec 16
2
MySQL stale socket
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a server with a faulty power supply that resets the server every 4/5
hours.
While I wait for the supplier to change the PS, I am facing an issue with MySQL.
When the system comes back on, mysqld script starts the daemon, but the
connections via /var/lib/mysql/mysql.sock don't work because MySQL doesn't
delete and recreate the stale
2015 May 21
4
Centos 6.6 Can't connect to local MySQL server through socket /var/lib/MySQL/MySQL.sock (error 2002)
Hi
Total newby to centos I am currently assisting a community radio station set up in the Uk we are using a server based system for our playout software, unfortunately at the moment one of our client servers is experience the above error I came across the error on our main server a few weeks ago and found the solution just by reinstalling the MySQL db but I have tried to deploy the same fix on
2015 May 21
0
Centos 6.6 Can't connect to local MySQL server through socket /var/lib/MySQL/MySQL.sock (error 2002)
------------ Original Message ------------
> Date: Thursday, May 21, 2015 09:43:24 PM +0100
> From: Graham Wilman <gwillman at hotmail.co.uk>
>
> Hi
>
> Total newby to centos I am currently assisting a community radio
> station set up in the Uk we are using a server based system for
> our playout software, unfortunately at the moment one of our
> client servers
2009 Jan 20
3
Re : problem with running mysql on glusterfs
Hello. I would like to ask about having mysql data hosted on glusterfs.
Please see my issue below. I have posted DEBUG log information on pastebin.
I am using
GlusterFS version: glusterfs 1.4.0rc7
FUSE Version :fuse-2.7.3glfs10
my ISSUE is:
When hosting mysql data on glusterfs I have an issue:
The first time I start the glusterfsd server using
[root at mohan ~]#
2007 Sep 26
3
Can't connect to local MySQL server
hello everyone, i am new to ROR.
i am just trying to run a simple application which will show some data
from database, i have done it in my local machine. But when i tried to
do the same thing in my "Dreamhost" shared hosting. I got an error.
i used the Rake tool and successfully migrated a model (using SSH
client tool). The table was successfully created hosting db server, so
i
2008 Sep 03
23
error connecting to mysql
i was trying to setup an application checked out from svnin my local
machine. i managed to do all that is required except when it came to
the step of creating databases for the application, when i tried to
connect to mysql i got this error
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/var/lib/mysql/mysql.sock'' (2)
i have spent more than 5
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello.
This is my mysql-server.pp file, both master and client are runing
ubuntu.
--------------------
class mysql-server {
package { "mysql-server": ensure => installed }
package { "mysql-client": ensure => installed }
service { "mysql":
enable => true,
ensure => running,
require => Package["mysql-server"],
}
file
2008 Jun 03
15
Problem with rails environment with cygwin...mysql doesn't
I have rails 1.2.2, ruby 1.8, mysql 5 and Rad Rails in my win XP and
this
stack works fine.
But I''m trying to use rails 2.1, mongrel, capistrano, git, mysql all in
cygwin and e Text Editor.The only think that doesn''t work is mysql.I
installed this app from the source(in version 5.0.45, ./configure then
make install).All
right, but when I try to launch this error occurs:
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
Hello,
I've only had experience with PostgreSQL sofar,
but have now to install MySQL (and WordPress)
on a CentOS 6.4 /64 bit server.
I have installed the mysql-5.1.69-1.el6_4.x86_64
package and executed the following commands:
# chkconfig mysqld on
# service mysqld start
# /usr/bin/mysqladmin -u root password 'xxxxx'
# /usr/bin/mysql_secure_installation
Then I've noticed that
2006 Oct 10
2
Moving Mysql data directory denied by selinux?
Hi,
I'm trying to move the MySQL data directory to /home/mysql like I have
done with every other install I have done before but the difference is
this time I am trying to have SELinux active instead of turning it off.
I seem to need some help in
a) Understanding what the selinux failure messages are saying; and
b) How to correct the issue
I've read the selinux docs and all I got was a
2005 Sep 04
4
mysql
I just installed CentOS 3.5. Included in the install was mysql. When
trying to start it using: service mysqld start. The system responds
with mysqld not recpognized as a service. When trying to use
/usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search
of the system does not reveal
2008 Dec 02
3
mysql question
Hi
?
Do you know any good mysql mailing list?
?
I have question what is the different between
?
/var/lib/mysql/mysql.sock
/var/lib/mysql/mysqld.sock
Thank you
__________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
-------------- next part
2009 Sep 12
1
mysql query logging
Nothing I have done so far seems to work
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_allowed_packet=2MB
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
2006 Dec 14
4
need help rubyonrails/mysql problem
Hi everybody,
I am new in rubyonrails, and I am trying to learn it so I try to
implement tht examples in the agile web developement with rails. I have
stopped when I want to use scaffold. as it is mentionned in the book:
ruby script/generate scaffold Product Admin
but i get an error: it said no such file or directory /tmp/mysql.sock
I have checked my configuration of mysql and i found that mysql