[yocto] How to get mysqy/mariadb to start on powerup.

Greg Wilson-Lindberg GWilson at sakuraus.com
Thu Mar 15 14:16:24 PDT 2018


> From: Khem Raj <raj.khem at gmail.com>

> Sent: Thursday, March 15, 2018 1:54 PM
> To: Greg Wilson-Lindberg
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] How to get mysqy/mariadb to start on powerup.
>
> > On Thu, Mar 15, 2018 at 1:38 PM, Greg Wilson-Lindberg
> <GWilson at sakuraus.com> wrote:
> > I'm building an RPi3 system that is going to use mysql/mariadb. I've got
> > everything installed, but mysqld is not starting. install_db.service does
> > run on startup, but the mysqld.service file never gets triggered.
> >
> >
> > Is there something that I'm missing to get it to run? I've search online,
> > but can't find anything that pertains to yocto.
> >
>
> poke on the system with systemctl/journalctl to see whats going on

journalctl -u mysqld.service says no entries
systemctl status mysqld.service shows:
   Loaded: loaded (/lib/systemd/system/mysqld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

I've rebooted the system a couple of times to see if install_db needed to be run before mysql would run, no luck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180315/4fa0c5f0/attachment.html>


More information about the yocto mailing list