wood burning stoves 2.0*
The moose likes JDBC and the fly likes mysql   rm: cannot unlink `/tmp/mysql.sock': Operation not permitted Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "mysql   rm: cannot unlink `/tmp/mysql.sock Watch "mysql   rm: cannot unlink `/tmp/mysql.sock New topic
Author

mysql rm: cannot unlink `/tmp/mysql.sock': Operation not permitted

jonny_wong
Greenhorn

Joined: Sep 18, 2001
Posts: 1
Hi ,
there are more than 120 user in using the linux server Debian in
my university.
and I'm not allowed to touch the /root account of the Debian server.
But I would like to install mysql in my own account called "jonny" in order to communicate with JDBC and JSP(TOMCAT)
I using mysql-3.22.32 version( source - tarball )
/home/jonny/temp% ./configure --prefix=/home/jonny/mysql
/home/jonny/temp% make
/home/jonny/temp% make install
/home/jonny/temp% ./scripts/mysql_install_db
so Far I have succeffuly install up to mysql_install_db
next,when I type safemysqld,
/home/jonny/mysql/bin% safe_mysqld &
Starting mysqld daemon with databases from
/home/jonny/mysql/var
rm: cannot unlink `/tmp/mysql.sock': Operation not permitted
mysqld daemon ended
when i type
/home/jonny/mysql% ls -l /tmp/mysql.sock
I saw there is another user who is using the mysql.sock
hence i can't start my mysql db because my mysql.sock is using by other user already.
can anyone who is kind enough to help or give me some hint on how to solve this /tmp/mysql.sock file problem.
Is it we go to /home/jonny/mysql/var/my.cnf to change the socket filename would solve this problem...
is anyone who has same situatin as me ..who are using the shared Operating system such as Linux/ Solaris in the universiy or company who has the same problem as me...pls share your solution with me...thanks...
a million thanks.
thanks,
jonny

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mysql rm: cannot unlink `/tmp/mysql.sock': Operation not permitted
 
Similar Threads
Installing mysql on Linux
Setting MySQL variables
couldn't get.....
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Slackware & Mysql error install