[CentOS] mariadb fails to start under C7

Earl A Ramirez earlaramirez at gmail.com
Sun May 10 20:04:30 UTC 2015


On 10 May 2015 at 15:17, Tim Dunphy <bluethundr at gmail.com> wrote:

> Hi Earl,
>
> >I think I found your problem, you do not have the correct package
> installed
>
> >[root at c7-db1 ~]# rpm -qa | grep maria
> >mariadb-libs-5.5.41-2.el7_0.x86_64
> >mariadb-server-5.5.41-2.el7_0.x86_64
> >mariadb-5.5.41-2.el7_0.x86_64
> >[root at c7-db1 ~]#
>
> >Install the mariadb-x package and you should be able to start the service
>
> Thanks. While I could go with mariadb 5, the goal I had in mind was mariadb
> 10. They're pretty different and 10 is more advanced. Push comes to shove,
> however I could go with 5.
>
> And to Hal.. yeah you can use service mariadb start (assuming everything
> you need is there). But systemctl is the preferred method under CentOS 7.
>
> [root at nfsdb1 ~]# service mariadb start
> Redirecting to /bin/systemctl start  mariadb.service
> Failed to issue method call: Unit mariadb.service failed to load: No such
> file or directory.
>
> I guess I'll wait to see if anyone has any ideas on getting MariaDB 10
> working. I've already googled this to no avail. If nothing turns up on the
> list or if I can't find anything, I'll just go with MariaDB 5.
>
> Thanks,
> Tim
> <snip>
>

Did a little Googling [0] and I saw that they recommend starting it as
follows:

/etc/init.d/mysql start

[0] https://mariadb.com/blog/installing-mariadb-10-centos-7-rhel-7


-- 
Kind Regards
Earl Ramirez



More information about the CentOS mailing list