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
2
votes
1 answer

can't access mysql in zend server

Abhimanyus-MacBook-Pro:~ abhimanyuaryan$ /usr/local/zend/mysql/bin/mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/zend/mysql/tmp/mysql.sock' (2) I was trying to use MySQL database via terminal…
hehehehe
  • 183
  • 1
  • 2
  • 6
2
votes
4 answers

How can I run MAMP with two different login users at the same time on Mac?

I currently use Mac Mavericks OSX 10.9.1. I have 3 login users for work, school, and my personal user. I just installed MAMP on my 'work' user at first time. Apache and MySQL servers run successfully. However, they are not runnable at all on either…
seoyoochan
  • 822
  • 3
  • 14
  • 28
2
votes
1 answer

Why does my mysql.sock file only appear after a restart?

I need to install the DMG MySQL start up package and then restart my computer, every time, in order for my mysql.sock file to appear in my /tmp/ folder. Otherwise, I am not able to locate that file, and for all intents and purposes, it isn't…
Friendly King
  • 2,396
  • 1
  • 23
  • 40
1
vote
0 answers

MYSQL Mac OSX Snow Leopard, mysql.sock being removed while mysql is being used

Sometimes I can use MYSQL all day, and other times for just 10 minutes before I get a "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" error. If I try to restart MYSQL server it just hangs and crashes, the only way I can…
S-K'
  • 3,188
  • 8
  • 37
  • 50
1
vote
3 answers

pdo_mysql unable to create mysqld.sock file

I'm adding PHP (php-fpm) to an existing Nginx Ubuntu 10.04 server and can't get pdo_mysql to work. I'm trying to connect to a MySQL server someplace else, but all the Googling answers I found are in regards to MySQL not working on the local server,…
Slowfib
  • 291
  • 1
  • 4
  • 15
1
vote
0 answers

Mac High Sierra can't connect to MariaDB with host 'localhost'

I installed MariaDB on macOS High Sierra via Homebrew and I try to make it run with native Apache and PHP from the system. I can start the mysql server correctly with the command: mysql.server start But when I try to access the database on Adminer…
blemee
  • 11
  • 2
1
vote
2 answers

ERROR: There's not enough space in /var/lib/mysql/

I am exactly with the problem of the following question on my server and when accessing the log file it appears empty, i.e., no information. MySQL Job failed to start Data from my server: ricardoramos@garapa:~$ lsb_release -a No LSB modules are…
ricardoramos
  • 891
  • 3
  • 18
  • 35
1
vote
1 answer

Use independent MySQL installation with PHP that came with XAMPP 1.6.2

I have installed XAMPP 1.6.2 (need this use this specific version) at /opt/lampp in Ubuntu 16.0.4. I have installed Mysql 5.7.18-0ubuntu0.16.04.1 using apt-get. I need to use the installed version of MySQL with PHP that came with XAMPP. When I try…
Lakshmikant Deshpande
  • 826
  • 1
  • 12
  • 30
1
vote
1 answer

No such file or directory connecting to RDS through EC2 with php

I've set up an RDS and an EC2 on amazon web services. The RDS is in one security group, and the EC2 in another. The EC2 security group accepts http, https and ssh traffic (though I have tried setting it to all traffic) from any location, while the…
w1nter
  • 337
  • 4
  • 23
1
vote
1 answer

PleskDBException error unable to connect mysql

I can't login to the Plesk control panel. I got an error. Please give me a hint about this error. My server is centos 6 installation. ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory…
1
vote
0 answers

Cannot start mysql after restart on Yosemite

I'm having a problem that appears to be fairly commonplace, though having read around and attempted numerous solutions I'm quite confused as to what's going on here. The crux of the problem is, ever time I restart my Mac (running on OS X Yosemite…
dan j
  • 157
  • 1
  • 11
1
vote
3 answers

socket problem with MySQL

This is a recent problem... MySQL was working and a couple of days ago I must have done something. I deleted MySQL and tried reinstalling using the .dmg file. The mysql.sock file never gets created and I get the following error messages: Hristo$…
Hristo
  • 45,559
  • 65
  • 163
  • 230
0
votes
1 answer

Managing "mysql.sock" file in Docker database for Cloud Storage synchronization

I have set up a database using Docker, but I'm encountering issues with a persistent file called mysql.sock. This file is located in a Cloud Storage Service and remains constantly "open", preventing me from synchronizing not only the folder…
nekovolta
  • 496
  • 2
  • 14
0
votes
1 answer

Laravel database problem - Too many levels of symbolic links

Yesterday I tried to update MySQL version on Centos 6 from 5.5 to 10.2 because Server said 5.5 was no longer supported After that, I can not connect to the MySQL database and all my Laravel project are down. I got an error: PDOException in…
Aleks Per
  • 1,549
  • 7
  • 33
  • 68
0
votes
1 answer

how to open mysql.sock

I can use mysql client to open mysql.sock with system root user. but I can't use other system user use thee mysql client. the error message is: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/mnt/mysql/mysql.sock'…
hank
  • 1