Re: mariadb fails to start under C7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




------------ Original Message ------------
> Date: Sunday, May 10, 2015 01:20:34 PM -0700
> From: John R Pierce <pierce@xxxxxxxxxxxx>
>
> On 5/10/2015 1:04 PM, Earl A Ramirez wrote:
>> Did a little Googling [0] and I saw that they recommend starting
>> it as follows:
>> 
>> /etc/init.d/mysql start
> 
> which is old school sysVinit style.
> 
> my guess is, you'll need to fix up a systemd service description
> file, like /usr/lib/systemd/system/mariadb.service

Actually, the systemctl command is:
   
   systemctl start mysql.service

from the "systemctl show" output it looks like this actually calls
the /etc/rc.d/init.d/mysql file for start/stop/reload, which seems
backwards.

It appears that mariadb is trying to be a total drop-in replacement
to mysql, so all the paths/files, etc., e.g., in the ps output, are
"mysql" not "mariadb" -- so it's tricky to have them both installed.

By the way, you can use things like:

   systemctl list-units

(and likely more efficient approaches) to find the systemctl command
naming.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux