Advertising (This ad goes away for registered users. You can Login or Register)

Mystery mysqld on ArchLinux

Everything related to computers that doesn't go in other categories
Locked
Xian Nox
Retired Mod
Posts: 2744
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Mystery mysqld on ArchLinux

Post by Xian Nox »

I installed apache and mysql on my arch system, and started the service with 'systemctl enable httpd' and 'systemctl enable mysqld'.
Both are running properly, but there are two mysqld processes, and systemctl is responsible for only one of them:

Code: Select all

xiannox@suigintou: ~> systemctl status mysqld
mysqld.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
   Active: active (running) since Fri 2014-01-03 13:18:04 CET; 1h 29min ago
  Process: 352 ExecStartPost=/usr/bin/mysqld-post (code=exited, status=0/SUCCESS)
 Main PID: 351 (mysqld)
   CGroup: /system.slice/mysqld.service
           └─351 /usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid
The second mysqld process has a higher PID (626), and is started by me instead of 'mysql'. Process was there since I installed arch (before enabling the mysqld using systemctl), and trying to connect to it using the mysql command line results in a "no socket in /var/run" error. I guess it's started and used by kde.
Is this expected behaviour? And how do I figure out what started the second one?
Advertising
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: Mystery mysqld on ArchLinux

Post by codestation »

Do you have Akonadi enabled? Is uses mysql to store its metadata. Amarok also uses an mebedded mysql db to store its settings/metadata. Personally i just disable the Akonadi/Nepomuk combo (i consider Nepomuk to be a great solution, sadly is still implemented poorly).
Advertising
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
Xian Nox
Retired Mod
Posts: 2744
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Mystery mysqld on ArchLinux

Post by Xian Nox »

It was Akonadi. Disabled it (how for future reference)
Locked

Return to “General”