Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C4D5DE0084A; Thu, 15 Mar 2018 14:16:32 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [64.235.154.220 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from 14pmail.ess.barracuda.com (14pmail.ess.barracuda.com [64.235.154.220]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 827DFE006E9 for ; Thu, 15 Mar 2018 14:16:30 -0700 (PDT) Received: from SFAMAIL.SAKURAUS.LOCAL (mail.sakuraus.com [12.26.104.5]) by mx1412.ess.rzc.cudaops.com (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NO); Thu, 15 Mar 2018 21:16:27 +0000 Received: from SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) by SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Thu, 15 Mar 2018 14:16:24 -0700 Received: from SFAMAIL.SAKURAUS.LOCAL ([::1]) by SFAMAIL.SAKURAUS.LOCAL ([::1]) with mapi id 15.01.0669.032; Thu, 15 Mar 2018 14:16:24 -0700 From: Greg Wilson-Lindberg To: Khem Raj Thread-Topic: [yocto] How to get mysqy/mariadb to start on powerup. Thread-Index: AQHTvJmRjybrgAvccUyN6MZA1cayV6PSO8aA//+OKnY= Date: Thu, 15 Mar 2018 21:16:24 +0000 Message-ID: <937e0a406a4443b0813052bcc5c0a006@sakuraus.com> References: <454710ed7f6d42279136acc70c35cf74@sakuraus.com>, In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.16.5.239] MIME-Version: 1.0 X-BESS-ID: 1521148585-452060-14489-6642-1 X-BESS-VER: 2018.3.1-r1803090017 X-BESS-Apparent-Source-IP: 12.26.104.5 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.191096 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS29408 scores of KILL_LEVEL=7.0 tests=HTML_MESSAGE, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Cc: "yocto@yoctoproject.org" Subject: Re: How to get mysqy/mariadb to start on powerup. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 21:16:32 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_937e0a406a4443b0813052bcc5c0a006sakurauscom_" --_000_937e0a406a4443b0813052bcc5c0a006sakurauscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Khem Raj > Sent: Thursday, March 15, 2018 1:54 PM > To: Greg Wilson-Lindberg > Cc: 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 > wrote: > > I'm building an RPi3 system that is going to use mysql/mariadb. I've go= t > > everything installed, but mysqld is not starting. install_db.service do= es > > 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 onlin= e, > > 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 pre= set: enabled) Active: inactive (dead) I've rebooted the system a couple of times to see if install_db needed to b= e run before mysql would run, no luck. --_000_937e0a406a4443b0813052bcc5c0a006sakurauscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

>&nbs= p;From: Khem Raj <raj.khem@gmail.com>

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

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

I've rebooted the system a couple o= f times to see if install_db needed to be run before mysql would run, no lu= ck.
--_000_937e0a406a4443b0813052bcc5c0a006sakurauscom_--