[yocto] How to get mysqy/mariadb to start on powerup.
Greg Wilson-Lindberg
GWilson at sakuraus.com
Fri Mar 16 08:58:40 PDT 2018
> From: Greg Wilson-Lindberg
> Sent: Thursday, March 15, 2018 02:16 PM
> To: Khem Raj <raj.khem at gmail.com>
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] How to get mysqy/mariadb to start on powerup.
>
> > From: Khem Raj <raj.khem at gmail.com<mailto:raj.khem at gmail.com>>
> > Sent: Thursday, March 15, 2018 1:54 PM
> > To: Greg Wilson-Lindberg
> > Cc: yocto at yoctoproject.org<mailto: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<mailto: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.
>
It's seems that maybe I need to add a bit about my understanding of the yocto system. I was assuming that if I included mysql in the build, that it would be started when the system powered up. If mysql is not normally started automatically that I can do what is necessary to start it, I just thought that I shouldn't need to do anything.
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180316/57fa7972/attachment.html>
More information about the yocto
mailing list