← Back to team overview

maria-discuss team mailing list archive

Re: How to fix the fact that MariaDB runs as 'mysql', instead of 'mysqld' now.



> -----Original Message-----
> From: maria-discuss-bounces+admin=yqed.com@xxxxxxxxxxxxxxxxxxx
> [mailto:maria-discuss-bounces+admin=yqed.com@xxxxxxxxxxxxxxxxxxx] On
> Of Bradley D. Thornton
> Sent: Saturday, May 07, 2011 1:01 AM
> To: Maria Discuss Team mailing list
> Subject: [Maria-discuss] How to fix the fact that MariaDB runs as 'mysql',
> instead of 'mysqld' now.
> Hash: RIPEMD160
> I've run into a problem with implementations of MariaDB where I get
> like "mysqld: unrecognized service".

# ln -s /etc/init.d/mysql /etc/init.d/mysqld

I'm about to release my MariaDB 64bits RPM's soon at Axivo repository, as
soon as I find sponsors to host the packages with a mirrorlist. The packages
have mysqld as init script and include all needed patches for Redhat/CentOD
environment, as well few minor compile corrections. They are tailored for
Intel (-mtune=nocona) and perform about 40% faster than official RPM, 65%
faster than Percona 5.5.10-20.1 and 82% faster than MySQL 5.5.11.


Floren Munteanu

> This threw me for a loop at first because everything seems to be fine on
> surface, drop in replacement as usual, etc.
> The problem, seems to be related to something I hadn't noticed before,
> is that MariaDB runs as 'mysql', instead of 'mysqld'.
> Is there a tutorial or howto related to this issue? I would imagine that
> is a common occurrence (not a bug, obviously, yet still an issue that
> need to be addressed on a regular basis when performing installations).
> Although I usually use Slackware, on the particular CentOS 5.6 box that is
> giving me the problem, the executibles/scripts that I have are located:
> /usr/bin/mysqld_multi
> /usr/bin/mysqld_safe
> /usr/bin/mysqldump
> /usr/bin/mysqldumpslow
> /usr/sbin/mysqld
> To be specific, I installed PiaF via a script onto a running host under
> VMware ESXI, that I prepared from scratch, had some libraries, yet no real
> install of MySQL.
> That made the installation of MariaDB even easier than usual, until I had
> prepped the box and ran the installation script, which at one point pulls
> binaries from the pbxinaflash.com site as a bundle.
> I've been sifting through the code, to see if I can correct this, yet
> that I'll have endless headaches when, for example, I perform updates to
> PBX system.
> Therefore, I'm thinking that symlinking or something of that nature is the
> most effective solution, as part of my standard EllisonCO eradication
> philosophy, to avoid such issues in the future.
> Any assistance in this regard would be greatly appreciated, and go a long
> way towards me completing a complete removal of all MySQL Servers under my
> purview.
> Kindest regards,
> - --
> Bradley D. Thornton
> Manager Network Services
> NorthTech Computer
> TEL: +1.760.666.2703  (US)
> TEL: +44.203.318.2755 (UK)
> http://NorthTech.US
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Find this cert at x-hkp://pool.sks-keyservers.net
> OVqNG5W5+wdzN6XAIBWhoh6PO7o9YDxoow59qdaHN4yw9fmGRFVadSg9PHcQZd7g
> yRVyTnuPALFWJ5YSOurC2rhyYKUQfV+oqEV6AXfznF7YOZSr47fJG1Mrw7IBO2dl
> GGjxmq7P/e1SsBAcOe7c6Okj5MxKlAk5S/gzRqeIcLthtRaKoNBIQhDaG36tnUNn
> rXWvhe1nU8vz7E9ZbFOvWE9Qe40j/P6nNtmcTeUTlP+0wc3Jue0h6+Nk7sWpZe4a
> 15KZx4AZHT417m+OpEpsn4CdNCkNVcdH606ijo60A/FVyyeTSZb2d5tI2bM13wM=
> =ng1q
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp

Follow ups