473,480 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem with 'mysql.sock' file

Ben
Hi,

I installed mysql 5.0 on redhat 9.0 from source (tar).
The whole procedure occured properly, i could do ./mysqld_safe.
But when i want to start the client: mysql, i get :error 2002: cannot
connect to mysql server through 'tmp/mysql.sock'.

I set /tmp with the sticky bit, because otherwise file 'mysql.sock' woukd be
deleted !?.
I also created 'my.cnp into /etc, but my problem is that there is no file
'mysql.sock'.

I recompiled it again (make, make install) but still no file 'mysql.sock'
anywhere.

How can i create or get such a file?
Thanks
ben


Dec 26 '05 #1
2 3026
"Ben" <qsvqs@qsdcsqd> wrote in message
news:jp********************@scarlet.biz...
But when i want to start the client: mysql, i get :error 2002: cannot
connect to mysql server through 'tmp/mysql.sock'.


See my reply to your posting on comp.databases.mysql.

Quick suggestion for troubleshooting this error:
http://dev.mysql.com/doc/refman/5.0/...to-server.html

Regards,
Bill K.
Dec 26 '05 #2
Ben wrote:
Hi,

I installed mysql 5.0 on redhat 9.0 from source (tar).
The whole procedure occured properly, i could do ./mysqld_safe.
But when i want to start the client: mysql, i get :error 2002: cannot
connect to mysql server through 'tmp/mysql.sock'.

I set /tmp with the sticky bit, because otherwise file 'mysql.sock' woukd be
deleted !?.
I also created 'my.cnp into /etc, but my problem is that there is no file
'mysql.sock'.

I recompiled it again (make, make install) but still no file 'mysql.sock'
anywhere.

How can i create or get such a file?
Thanks
ben


the mysql.sock is created by the server process upon starting. try
starting the server from the 'services' gui utility as opposed to
command line.
good luck
Feb 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1826
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. The I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration...
0
1437
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. The I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration...
0
1431
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. Then I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration...
0
1836
by: System | last post by:
Hello All, I have setup Replication on two Redhat linux box 7.3 and 9.0 with MySQL-4.0.13 Running.. On Master the my.cnf is ================== port = 3306 socket =...
0
1270
by: JW | last post by:
Hi all, I was fine running mysql, and for some reason, after the most recent reboot of my machine, I get the following error and I try the following subsequent commands to try to figure things...
1
3863
by: JW | last post by:
Hi all, I was fine running mysql, and for some reason, after the most recent reboot of my machine, I get the following error and I try the following subsequent commands to try to figure things...
4
2014
by: Manzoorul Hassan | last post by:
I am not able to connect to the mysql DB if I am not the root user. I have already found identified an issue: * mysql.sock is NOT located in /tmp So, to get around it I created a sym link to...
2
2675
by: balavignesh | last post by:
Hello frends! I want to connect with mysql using php. In my mysql "my.cnf" file i have specified the socket for both client and server as "/usr/local/mysql/var/mysql.sock" In my "php.ini"...
1
1330
by: Robi400 | last post by:
Hi *all i install Zendcore PHP on Monday, include MySql on an iSeries with V5R4. Start & Stop the Zendcore SBS works fine, Start,stop &restart Apache works fine, Start stop mysql SBS work fine...
0
7057
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7102
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4495
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3000
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1310
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
570
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.