0
votes
0answers
21 views

Tomcat on Linux - won't close socket

When I keep sending http requests to my webserver, it stops responding and I'm stuck in a white screen saying, 'waiting for xxx'. It goes unresponsive. This only happens on Linux. Also I don't see ...
-1
votes
0answers
19 views

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full - wamp server [closed]

I am creating a browser-based game using PHP,Javascript and HTML5 and I am testing it on a local wamp server. However sometimes I get the following error: Warning: mysqli::mysqli(): (HY000/2002): An ...
3
votes
0answers
121 views

mysql client slow login strace

I am experiencing an issue with slow connections/logins to a loaded mysql server, even when connecting via the unix socket file (CentOS 6.3). Queries are completing very quickly -- (0.00 sec) in this ...
-2
votes
3answers
140 views

Can I make a MySQL socket file that points to a different machine?

I'm using a MySQL tuning script that in turn uses the socket (.sock) file on the local drive to connect to MySQL. Even though I have a copy of MySQL on this server, however, the MySQL that I want to ...
2
votes
0answers
72 views

what can put linux process managing connection pool into bad state, so it restarts them continously?

I have an application with pool of connections to MySQL. At some point, in production, every 1-3 seconds some socket is closed. As a result my app restarts this connection. This is pretty big pool ...
1
vote
1answer
157 views

Access denied to mysql cause by invalid server hostname bind address

I cannot login to mysql using the terminal. [root@fst mysql]# mysql -h localhost -u admin -p Enter password: ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) I ...
0
votes
3answers
178 views

MySQL Not Turning On

I have an amazon ec2 instance running on the Amazon Linux AMI and its a micro instance. I wanted to install Django onto my server so I entered these commands wget ...
0
votes
3answers
4k views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) on subsequent connection through terminal

My sincere apologies for asking something that obviously has been answered before. The fact that I'm posting is that i would like to be absolutely sure since it's about a live server running ...
7
votes
6answers
5k views

How to force MySQL to connect by TCP instead of a Unix socket?

I would like to analyze mysql traffic. Right now, all mysql requests are sent to the MySQL unix socket: unix 2 [ ACC ] STREAM LISTENING 3734388 15304/mysqld ...
0
votes
2answers
68 views

Mysql Sock Problem

I'm having problem with this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) It appears every few minutes but after few seconds ...
6
votes
4answers
5k views

What should mysqld.sock contain, why don't I have it?

Does anyone know why my /var/run/mysqld/mysqld.sock socket file would not be on my computer when I install (or reinstall) MySQL 5.1? Right now, when I try to start up a server with mysqld, I get ...
1
vote
0answers
138 views

Whats going on with mySQL

I am trying to install this application named socialengine and all is going well except on the mysql screen i keep getting this error The MySQL storage engine is not installed. I notice my sock ...
1
vote
2answers
2k views

phpmyadmin error #2002 cannot connect to mysql server

I am getting the error in the title when trying to connect to my MySQL server. I have reinstalled MySQL and PHP several times and tried a slew of command line work based on information I searched out. ...
1
vote
2answers
4k views

Updated MySQL: MySQL Daemon has failed to start

Just updated my MySQL on CentOS when I did yum update. My website threw some MySQL errors and I found out that MySQL wasn't running: # /etc/init.d/mysqld start MySQL Daemon failed to start. Starting ...
0
votes
2answers
523 views

“Can't connect to local MySQL server through socket” and deleted socket

It's a common error, but all the answers don't solve my problem : When I start mysql, I have : ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
1
vote
2answers
392 views

New to Ruby on Rails, having socket trouble with MySQL (on Mac OS X)

This is my first question on serverfault, although I have used stackoverflow before. I am in a Ruby on Rails class over this summer and need to get RoR running ASAP. I used MacPorts to install Ruby, ...
4
votes
3answers
1k views

Forward local port or socket file to remote socket file

Quick question - I run two linux boxes, one my own desktop and the other my VPS. For security reasons on the VPS end I opted for socket connections to MySQL (/var/run/mysqld/mysql.sock). I know I can ...
0
votes
1answer
210 views

how to dump mysql database if it cannot create a tcp ip socket (or how to fix it)

while trying to run mysql/mysqldump i get an error "Can't create TCP/IP socket(10106) when trying to connect" is it possible to fix it? or is it possible to make a backup of mysql dbs in this ...
0
votes
2answers
917 views

How to configure mysql to connect via sockets?

My mysql server is installed on the localhost machine where my php scripts are stored. So is what they say right that it's safer to connect to mysql from php that is placed in the same server? If so, ...