How to create mysql.socket file

Asked

Viewed 1,367 times

0

I’m using the phpmyadmin because, it is returning me an error that refers to the missing file mysql.sock, there is a possibility to install this file?

Error reported below:

error 2002 : file not found

  • 1

    The error says just that? How do you know it’s exactly the mysql.sock missing?

  • why I looked in the folders /opt/lampp/var/mysql and this file is missing

  • for 2 days I am trying to find the error, but I have no success, in the status of xampp the bank comes as disabled

  • Try sudo sudo /etc/init. d/mysql start

  • it goes up, but my problem is in shaman, it does not activate

1 answer

1

You have the command mysql on the command line? If yes, just start the service by doing:

$ mysql.server start
  • Rafa to trying to install mysql-server but is giving the following Unknown job?? error in the configuration part..

  • What your operating system?

  • I’m using the Ubuntu

  • Well, are you trying to install by apt-get? Do you think you can do an apt-get update?

  • I am via aptget -install so that at the time it starts to configure it hangs on this message

  • and in question of apt-get update normal use

  • Take a look at this: http://askubuntu.com/questions/296946/upstart-cant-start-mysql It seems that the first answer solves this Uknown Job case. Apparently, your Mysql installation is not legal mt, which may be interfering with the original problem, including.

  • it seems to me that mysql is back to normal, but what I intend is that the xampp server is still disabled

  • Yes, it must be disabled because it is taking an error at the time of starting mysql server. You have even run "mysql.server start again"?

  • yes yes executed normal, the problem is knowing what is occurring

  • If you really want to remove mysql (don’t forget to back up if you have important data). apt-get remove --purge mysql, apt-get remove --purge mysql-server, then install again. On my.cnf has the name of the Sock file that it should create, try renaming that file.

Show 6 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.