Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!