Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] Mysql cannot find /var/run/mysql/mysql.sock
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sun, 23 Mar 2014 21:41:22 +0100 (CET)
  • Message-id: <alpine.LSU.2.11.1403232137280.28376@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sunday, 2014-03-23 at 20:41 +0100, Benjamin wrote:

What is going wrong here? Actually the Deamon is already running:

benji@linux-hy7i:~> ps -ef|grep mysqld
benji 4974 590 0 17:40 pts/1 00:00:00 grep --color=auto mysqld
benji 32740 32737 0 10:49 ? 00:00:22 /usr/sbin/mysqld
--defaults-file=/home/benji/.local/share/akonadi/mysql.conf
--datadir=/home/benji/.local/share/akonadi/db_data/
--socket=/tmp/akonadi-benji.Du9H1E/mysql.socket

That's not the daemon. Look at mine:

Telcontar:~ # ps -ef|grep mysqld root 2763 1 0 Mar22 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock --datadir=/var/lib/mysql
mysql 3009 2763 0 Mar22 ? 00:00:45 /usr/sbin/mysqld --basedir=/usr
--datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql
--log-error=/var/lib/mysql/Telcontar.err --pid-file=/var/run/mysql/mysqld.pid
--socket=/var/run/mysql/mysql.sock
root 29793 28315 0 21:35 pts/8 00:00:00 grep --color=auto mysqld
Telcontar:~ #


See? Yours is owned by your user, mine by root. Mine is the system wide daemon, your's is a local daemon used by KDE (akonadi). And it has a local config file, which you can see in your ps output.

- -- Cheers,
Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlMvRvIACgkQtTMYHG2NR9W4qgCghwGQhoFZA6tHDk9wCRPHC+Di
EZYAn0zmuuCEByEXv/+4p82EuYOL7SuO
=LgWi
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
References