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

Greg Wilson-Lindberg GWilson at sakuraus.com
Fri Mar 16 14:22:20 PDT 2018


> -----Original Message-----
> From: Khem Raj [mailto:raj.khem at gmail.com]
> Sent: Friday, March 16, 2018 02:16 PM
> To: Greg Wilson-Lindberg <GWilson at sakuraus.com>
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] How to get mysqy/mariadb to start on powerup.
> 
> On Fri, Mar 16, 2018 at 2:10 PM, Greg Wilson-Lindberg <GWilson at sakuraus.com>
> wrote:
> >> -----Original Message-----
> >> From: Khem Raj [mailto:raj.khem at gmail.com]
> >> Sent: Friday, March 16, 2018 11:55 AM
> >> To: Greg Wilson-Lindberg <GWilson at sakuraus.com>
> >> Cc: yocto at yoctoproject.org
> >> Subject: Re: [yocto] How to get mysqy/mariadb to start on powerup.
> >>
....
....
....
> >
> > I've run journalctl on both install_db.service & mysqld.service. mysqld comes
> back with no entries. install_db comes back with a line each for Starting and Started
> Install MySQL Community Server Database.
> >
> > systemctl status returns exited success for install_db, for mysqld it reports Active:
> inactive (dead).
> >
> > systemctl list-unit-files shows install_db as enabled and mysqld as disabled.
> >
> > I was able to start mysqld with systemctl start and it showed running with
> systemctl status & ps. But it did not restart after a reboot.
> 
> can you try
> 
> systemctl enable mysqld
> 
> this should enable it to start on boot.

That did create a link and it started on reboot.

I take it that something is happening in install_db and among other things that link is not getting created?

Greg
> 
> >
> > If there is anything else that I can do to help understand what is going on please let
> me know.
> >
> > Greg


More information about the yocto mailing list