> From: Greg Wilson-Lindberg
> Sent: Thursday, March 15, 2018 02:16 PM
> To: Khem Raj <raj.k...@gmail.com>
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] How to get mysqy/mariadb to start on powerup.
>

> > From: Khem Raj <raj.k...@gmail.com<mailto:raj.k...@gmail.com>>
> > Sent: Thursday, March 15, 2018 1:54 PM
> > To: Greg Wilson-Lindberg
> > Cc: yocto@yoctoproject.org<mailto:yocto@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
> > <gwil...@sakuraus.com<mailto:gwil...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to