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

Heads up! Humble THQ Nordic Playstation Bundle 2 is ongoing. Pay what you want for $269 worth of PS4 games. (Affiliate link)

Mystery mysqld on ArchLinux

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

Mystery mysqld on ArchLinux

Post by Xian Nox » Fri Jan 03, 2014 2:00 pm

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

User avatar
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: Mystery mysqld on ArchLinux

Post by codestation » Fri Jan 03, 2014 4:52 pm

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..

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Mystery mysqld on ArchLinux

Post by Xian Nox » Sat Jan 04, 2014 4:10 pm

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

Post Reply

Return to “General”