From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] mysql: add option to build the server
Date: Tue, 4 Mar 2014 07:51:03 +0200 [thread overview]
Message-ID: <20140304055103.GX3874@tarshish> (raw)
In-Reply-To: <CA+kK6WsRpy_8rvtVb6iSrBNYCB-QOsKCP18STAP6RNDj434yPg@mail.gmail.com>
Hi Marcelo,
On Mon, Mar 03, 2014 at 11:39:59PM -0300, Marcelo Gutierrez wrote:
> I've applied this, but:
> >
> > 1/ The package lacks an init script to start the MySQL server
> > automatically.
> >
> > 2/ When mysqld_safe is started automatically, it looks for stuff
> > in /usr/var that doesn't exist:
> >
> > 700101 00:00:22 mysqld_safe Starting mysqld daemon with databases from
> > /usr/var
> > /usr/bin/mysqld_safe: line 595: can't create /usr/var/buildroot.err:
> > nonexistent directory
> > /usr/bin/mysqld_safe: eval: line 1: can't create /usr/var/buildroot.err:
> > nonexistent directory
> >
>
> I can fix that but we'll need to add a mysql user and I have no idea how do
> it
You can to this by setting the MYSQL_USERS variable. See the example in
section 7.2.4 of the manual
(http://buildroot.net/downloads/manual/manual.html), and section 12.2 for
syntax details.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2014-03-04 5:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 22:39 [Buildroot] [PATCH 1/2] mysql: add option to build the server Marcelo Gutiérrez
2014-02-12 22:39 ` [Buildroot] [PATCH 2/2] package/mysql: fix debugging options Marcelo Gutiérrez
2014-02-23 19:12 ` Yann E. MORIN
2014-02-23 19:10 ` [Buildroot] [PATCH 1/2] mysql: add option to build the server Yann E. MORIN
2014-02-23 20:15 ` Peter Korsgaard
2014-02-24 19:38 ` Marcelo Gutierrez
2014-03-03 22:35 ` Thomas Petazzoni
2014-03-04 2:39 ` Marcelo Gutierrez
2014-03-04 5:51 ` Baruch Siach [this message]
2014-03-04 17:53 ` Marcelo Gutierrez
-- strict thread matches above, loose matches on Subject: below --
2014-02-04 15:41 [Buildroot] [PATCH 0/2] MySQL debug fix, and Mysql server on target Yann E. MORIN
2014-02-04 15:41 ` [Buildroot] [PATCH 1/2] mysql: add option to build the server Yann E. MORIN
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=20140304055103.GX3874@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox