All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Wilson-Lindberg <GWilson@sakuraus.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: How to get mysqy/mariadb to start on powerup.
Date: Fri, 16 Mar 2018 21:22:20 +0000	[thread overview]
Message-ID: <12270a1aeed348d7bdabbbeca64fb6ef@sakuraus.com> (raw)
In-Reply-To: <CAMKF1sothqiEPDCow7K+8sqFCEgMrhdEyXuJqEBNToyrMOqeBQ@mail.gmail.com>

> -----Original Message-----
> From: Khem Raj [mailto:raj.khem@gmail.com]
> Sent: Friday, March 16, 2018 02:16 PM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> Cc: yocto@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@sakuraus.com>
> wrote:
> >> -----Original Message-----
> >> From: Khem Raj [mailto:raj.khem@gmail.com]
> >> Sent: Friday, March 16, 2018 11:55 AM
> >> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> >> Cc: yocto@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

  reply	other threads:[~2018-03-16 21:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15 20:38 How to get mysqy/mariadb to start on powerup Greg Wilson-Lindberg
2018-03-15 20:54 ` Khem Raj
2018-03-15 21:16   ` Greg Wilson-Lindberg
2018-03-16 15:58     ` Greg Wilson-Lindberg
2018-03-16 18:55       ` Khem Raj
2018-03-16 21:10         ` Greg Wilson-Lindberg
2018-03-16 21:15           ` Khem Raj
2018-03-16 21:22             ` Greg Wilson-Lindberg [this message]
2018-03-16 21:51               ` Khem Raj
2018-03-16 21:58                 ` Greg Wilson-Lindberg
2020-04-21 10:56                 ` slopez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12270a1aeed348d7bdabbbeca64fb6ef@sakuraus.com \
    --to=gwilson@sakuraus.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.