[Maria-discuss] How to fix the fact that MariaDB runs as 'mysql', instead of 'mysqld' now.
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
I've run into a problem with implementations of MariaDB where I get messages like "mysqld: unrecognized service".
This threw me for a loop at first because everything seems to be fine on the surface, drop in replacement as usual, etc.
The problem, seems to be related to something I hadn't noticed before, which is that MariaDB runs as 'mysql', instead of 'mysqld'.
Is there a tutorial or howto related to this issue? I would imagine that it is a common occurrence (not a bug, obviously, yet still an issue that might 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 figure that I'll have endless headaches when, for example, I perform updates to the 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
Hi,
-----Original Message----- From: maria-discuss-bounces+admin=yqed.com@lists.launchpad.net [mailto:maria-discuss-bounces+admin=yqed.com@lists.launchpad.net] On
Behalf
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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
I've run into a problem with implementations of MariaDB where I get
messages
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.
Regards,
Floren Munteanu Axivo
This threw me for a loop at first because everything seems to be fine on
the
surface, drop in replacement as usual, etc.
The problem, seems to be related to something I hadn't noticed before,
which
is that MariaDB runs as 'mysql', instead of 'mysqld'.
Is there a tutorial or howto related to this issue? I would imagine that
it
is a common occurrence (not a bug, obviously, yet still an issue that
might
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
figure
that I'll have endless headaches when, for example, I perform updates to
the
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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Find this cert at x-hkp://pool.sks-keyservers.net
iQEcBAEBAwAGBQJNxNIRAAoJEE1wgkIhr9j3S1IH/iZHW2yYwI6K0S5nOwIMVj+C OVqNG5W5+wdzN6XAIBWhoh6PO7o9YDxoow59qdaHN4yw9fmGRFVadSg9PHcQZd7g yRVyTnuPALFWJ5YSOurC2rhyYKUQfV+oqEV6AXfznF7YOZSr47fJG1Mrw7IBO2dl GGjxmq7P/e1SsBAcOe7c6Okj5MxKlAk5S/gzRqeIcLthtRaKoNBIQhDaG36tnUNn rXWvhe1nU8vz7E9ZbFOvWE9Qe40j/P6nNtmcTeUTlP+0wc3Jue0h6+Nk7sWpZe4a 15KZx4AZHT417m+OpEpsn4CdNCkNVcdH606ijo60A/FVyyeTSZb2d5tI2bM13wM= =ng1q -----END PGP SIGNATURE-----
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
On 05/06/2011 10:16 PM, Floren Munteanu wrote:
ln -s /etc/init.d/mysql /etc/init.d/mysqld
Thanks Floren :)
That's what I thought the 'fix' would be.
Here's the same thing for Slackware users:
# ln -s /etc/rc.d/rc.mysql /etc/rc.d/rc.mysqld
Since my usual init scripts take care of this I dont' usually run into this problem, and didn't even really notice it until I tried the piaf install.
I'm interested in those other rpms you mentioned too so pls keep me posted okay?
I can probably provide the hosting you are looking for, but pls contact me offlist to discuss that so I'm sure I can acommodate.
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
participants (2)
-
Bradley D. Thornton
-
Floren Munteanu