[SOLVED] mysql.sock is missing..


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [SOLVED] mysql.sock is missing..
# 15  
Old 12-20-2010
Code:
drwxr-xr-x  13 mysql mysql     4096 Dec 20 15:21 .
drwxr-xr-x   6 root  root      4096 Nov 19  2009 ..
drwx------   2 mysql mysql     4096 Mar 24  2007 cdcol
drwx------   2 mysql mysql     4096 Jan 31  2010 hbastro
-rwxr-xr-x   1 mysql mysql 18874368 Dec 20 14:54 ibdata1
-rw-rw----   1 mysql mysql  5242880 Dec 20 15:19 ib_logfile0
-rw-rw----   1 mysql mysql  5242880 Jan 21  2010 ib_logfile1
drwx------   2 mysql mysql     4096 Jan  1  2005 indiahea_hbastro
drwxrwxrwx   2 mysql mysql     4096 Dec 18 10:54 jpmotors_jpmotors
-rw-rw----   1 mysql mysql    12050 Dec 20 15:17 Linux2.err
-rw-rw----   1 mysql mysql   582052 Dec 18 12:34 Linux2.err_old
drwxrwxrwx   2 mysql mysql     4096 Nov 26 15:56 maha
drwxr-xr-x   2 mysql mysql     4096 Dec 30  2008 mysql
srwxrwxrwx   1 mysql mysql        0 Dec 20 15:19 mysql.sock
-rwxr-xr-x   1 mysql mysql        6 Dec  2  2008 mysql_upgrade_info
drwx------   2 mysql mysql     4096 Dec 25  2007 phpmyadmin
drwx------   2 mysql mysql     4096 May 26  2010 slicify_design
drwx------   2 mysql mysql     4096 Oct 19 10:55 telos
drwx------   2 mysql mysql     4096 Jun 10  2010 telos_assessment
drwx------   2 mysql mysql     4096 Feb  1  2009 test

---------- Post updated at 04:01 PM ---------- Previous update was at 03:43 PM ----------

hi can u reply...

Last edited by radoulov; 12-20-2010 at 06:21 AM..
# 16  
Old 12-20-2010
OK,
stop all: external mysql and lamp processes. Change the permissions like this:

Code:
sudo chown -R nobody.root /opt/lampp/var/mysql

Try to start again as user root:

Code:
/opt/lampp/lampp start

# 17  
Old 12-20-2010
if i change the ownership to root will mysql operations work..?
# 18  
Old 12-20-2010
The user is nobody, the group is root.
# 19  
Old 12-20-2010
thanks buddy it worked ... thanks a lot.. Smilie
# 20  
Old 12-20-2010
Good Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Missing the MySQL extension which is required by WordPress.

hi i started in the apache userdirectory and virtual host now iwant installtion wordpress in home one of the useres But this error is Your PHP installation appears to be missing the MySQL extension which is required by WordPress. And the configuration files and other items I was enter... (0 Replies)
Discussion started by: mnnn
0 Replies

2. UNIX for Dummies Questions & Answers

MySQL Database Missing on UNIX server. Possible to recover?

My dedicated server is VERY old (running Apache/1.3.37 (Unix) PHP/4.4.4 FrontPage/5.0.2.2510). We have a script that runs and manages our customer database. Early in the morning last Friday, it was working fine and processed data as usual. Later in the day, we got this error: Cannot... (2 Replies)
Discussion started by: SurfMe69
2 Replies

3. Homework & Coursework Questions

Mysql missing mysqld.sock (Linux)

I am trying to start a server for a class I am in but... mysql won't start with this error ( ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ) ---------- Post updated at 03:51 PM ---------- Previous update was at 03:50 PM ---------- ... (2 Replies)
Discussion started by: Slayer939
2 Replies

4. Solaris

[solved] Group sysadmin missing

Hello all I recently installed a fresh copy of Solaris. I noticed that /etc/passwd does not contain an entry for sysadmin Group #14. Why isnt it there? Other websites state that by default it should be there ! Help! Regards, Junaid ---------- Post updated at 01:04 AM ----------... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

5. Shell Programming and Scripting

[Solved] missing date in unix

i have a file with below contents Mg_Message_count,1-Aug-12,46 Mg_Message_count,2-Aug-12,48 Mg_Message_count,3-Aug-12,48 Mg_Message_count,4-Aug-12,48 Mg_Message_count,5-Aug-12,48 Mg_Message_count,6-Aug-12,48 Mg_Message_count,7-Aug-12,42 Mg_Message_count,20-Aug-12,24... (10 Replies)
Discussion started by: rabindratech
10 Replies

6. UNIX and Linux Applications

MySQL Daemon failed to start - no mysql.sock file

After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the: mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
Discussion started by: jastanle84
3 Replies

7. UNIX and Linux Applications

MySQL missing my.cnf

Hi, SLES11 : I've installed the following MySQL Package: MySQL-client-community-5.1.54-1.sles11.x86_64 MySQL-devel-community-5.1.54-1.sles11.x86_64 MySQL-server-community-5.1.54-1.sles11.x86_64 MySQL-shared-community-5.1.54-1.sles11.x86_64Problem: I don't see any my.cnf file (find / -name... (1 Reply)
Discussion started by: hiddenshadow
1 Replies

8. Red Hat

Missing dependencies updating unixODBC / MySQL Connector

I have installed mysql-connector-odbc-5.1.5-0.i386.rpm and libtools on my Fedora12 system. Updating with yum says that there is nothing to update. Updating with rpm -Uvh mysql-connector-odbc-5.1.7-0.i386.rpm fails with the same missing dependencies as for the 64-bit version. Should I force... (4 Replies)
Discussion started by: Bengbers
4 Replies

9. UNIX for Advanced & Expert Users

mysql would not start: missing mysql.sock

I recently installed mysql-standard-5.0.21-solaris9-sparc-64bit.pkg on a Solaris 9 machine (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-250). The package installation went very smooth, however, starting mysql is a different story. I get the message below everytime I try to start mysql: #... (2 Replies)
Discussion started by: xnightcrawl
2 Replies

10. UNIX for Advanced & Expert Users

MySQL problem >> missing mysql.sock

MySQL on my server is down.... I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock Any suggestions? Here's what I can't do: can't be root don't have physical access (do stuff via SSH) reinstall MySQL (need to keep the current MySQL... (8 Replies)
Discussion started by: _hp_
8 Replies
Login or Register to Ask a Question