Questions tagged [mysql.sock]

mysql.sock is the Unix socket file that the MySQL server uses for communication with local clients.

mysql.sock is the Unix socket file that the MySQL server uses for communication with local clients.

http://dev.mysql.com/doc/refman/5.7/en/problems-with-mysql-sock.html

43 questions
0
votes
1 answer

How to Fix a Missing MySQL Socket (Mamp)?

Darshans-MacBook-Air-2:~ Darshan1$ sudo mkdir /var/mysql Password: Sorry, try again. Password: Sorry, try again. Password: What to type in password? mysql.sock not showing in folder
Darshan
  • 1
  • 2
0
votes
3 answers

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

I am trying to connect with mysql 5.6 in Linux with: [C003@C-003 mysql]$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I am getting above error. I found lot…
Irfan Ahmad
  • 119
  • 1
  • 2
  • 9
0
votes
2 answers

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) . mysql.sock not exist in /var/lib/mysql/

Magento Showing "There Has Been Error Processing Your Request " When trying to command " sudo service mysqld restart" but failed to Start Then See the Log Showing me " SQLSTATE[HY000] [2002] No such file or directory " I do Little search on Google,…
user2255224
  • 79
  • 1
  • 7
0
votes
1 answer

MySQL.sock doesn't exist | CentOS7 - ERPNext installation

I'm trying to install ERPNext with their install script provided at github (https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh) on my virtual CentOS 7 server. It has MariaDB 10.x installed and I have to remove it…
0
votes
0 answers

mysql.sock missing after xampp install on windows

I'm guessing that's why I can only connect through phpmyadmin — From that perspective all looks fine. Attempts to connect though php from my code all fail with "(HY000/1045): Access denied for user" (and yes I've checked the usernames and passwords…
SteveC
  • 351
  • 2
  • 14
0
votes
1 answer

ERROR 2002 (HY000) on installing moodle on ubuntu 14.04

I follow the steps in: http://docs.moodle.org/27/en/Step-by-step_Install_Guide_for_Ubuntu and in step 6, after typing the following command : mysql -u root -p I have this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket…
Blue Rose
  • 101
  • 1
  • 2
  • 6
0
votes
1 answer

How to change value returned by 'mysql_config --socket'?

I'd like to get the location of the mysql.sock from the linux command line with a single command, msql_config returns the wrong value though (it specifies the default /var/lib/mysql/mysql.sock which does not exist) despite the fact mysql_admin uses…
ryuken
  • 85
  • 2
  • 7
0
votes
5 answers

can't start mysql on mac OS X getting mysql.sock connection error

I'm trying to get mysql running on my mac. I used macports for the initial install but can't get past this mysql socket error. Note: macports appends the version number to commands if they look odd below. Error: Can't connect to local MySQL…
djburdick
  • 11,762
  • 9
  • 46
  • 64
0
votes
1 answer

Cannot find mysql.sock Mountain Lion

I have compiled MySQL 5.5.27 on Snow Leopard OSX. Which is working good and mysql.sock is created where it is expected. Same binaries are used on Lion OSX, it works there too and also mysql.sock is created at desired location. BUT Only in Mountain…
Jigar
  • 3,256
  • 1
  • 30
  • 51
0
votes
1 answer

Installing mysql problem

Running OS X Leopard an MacBook Pro from Jan. 2008. I used to run mysql server from a package but then rails started putting a warning that I should install mysql from gem: gem install mysql It did not work, I got the following error…
allesklar
  • 9,506
  • 6
  • 36
  • 53
0
votes
1 answer

mysql.sock and rails

This is not necessarily a programming question, but this issue is definitely blocking development (not to mention that there are thousands of questions on stackoverflow related to this, but none that I can see that address the issue I'm dealing…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
0
votes
3 answers

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

Having just tried to access some mysqladmin privileges within terminal (flush_hosts), I have noticed that the socket problem has resurfaced with the error Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)*. I have no…
dazziola
  • 193
  • 1
  • 3
  • 14
0
votes
1 answer

Couldnot start the mysql Deamon : mysql.sock is missing

service mysqld start mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Can any one help me out on this error?
rapo369
  • 1
  • 2
1 2
3