From: Ryan Coe <bluemrp9@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [1/1,RFC] mysql: replace mysql with mariadb 10.0
Date: Wed, 14 Sep 2016 11:44:22 -0700 [thread overview]
Message-ID: <57D99A86.5080308@gmail.com> (raw)
In-Reply-To: <32ce68ee-edba-85bd-7759-d3ed50d72fca@je-eigen-domein.nl>
Floris, All,
On 09/14/2016 07:46 AM, Floris Bos wrote:
> Hi,
>
> On 09/13/2016 12:05 AM, Ryan Coe wrote:
>> Replaces the old mysql 5.1 with mariadb 10.0. The package was not
>> renamed
>> as mariadb is a drop-in replacement for mysql.
>
> Give your patch a try
>
> - openssl is mentioned in the dependencies but not selected in Config.in
That was a mistake on my end. It will be added for the second version.
>
> - fails to compile for me when using uclibc as C library:
>
> ==
> [ 82%] Building CXX object sql/CMakeFiles/sql.dir/signal_handler.cc.o
> /mnt/nfs/mdbtest/buildroot/output/build/mysql-10.0.27/sql/signal_handler.cc:
> In function ?void handle_fatal_signal(int)?:
> /mnt/nfs/mdbtest/buildroot/output/build/mysql-10.0.27/sql/signal_handler.cc:274:21:
> error: ?thd? was not declared in this scope
> my_write_stderr(thd->query(), MY_MIN(65536U, thd->query_length()));
> ^
> /mnt/nfs/mdbtest/buildroot/output/build/mysql-10.0.27/sql/signal_handler.cc:
> In function ?void handle_fatal_signal(int)?:
> /mnt/nfs/mdbtest/buildroot/output/build/mysql-10.0.27/sql/signal_handler.cc:274:21:
> error: ?thd? was not declared in this scope
> my_write_stderr(thd->query(), MY_MIN(65536U, thd->query_length()));
> ^
> libmysqld/CMakeFiles/sql_embedded.dir/build.make:590: recipe for
> target
> 'libmysqld/CMakeFiles/sql_embedded.dir/__/sql/signal_handler.cc.o' failed
> make[4]: ***
> [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/signal_handler.cc.o]
> Error 1
> make[4]: *** Waiting for unfinished jobs....
> ==
I will look into this. I am using glibc for my project.
>
> - is the custom my.cnf necessary?
I'm not entirely sure about this. By default, it does not install a
configuration file. There are several sample ones installed to
/usr/share/mysql. We could use my-small.cnf as it would probably be
best suited to embedded systems. The only thing I saw was all of the
innodb stuff was commented out. I'm using that for my project. Feedback
from others would be welcome here.
>
> - any specific reason to choose the older MariaDB 10.0.x branch over
> the current stable 10.1.x?
> (believe the newer version also comes with systemd support, which may
> save you from having to create your own unit files)
No, I updated the version to the latest 10.1.17. That will be part of
my v2 patch.
>
>> diff --git a/package/Config.in b/package/Config.in
>> index 332f05d..9fca1f6 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -902,8 +902,8 @@ menu "Database"
>> source "package/kompexsqlite/Config.in"
>> source "package/leveldb/Config.in"
>> source "package/libpqxx/Config.in"
>> - source "package/mongodb/Config.in"
>> source "package/mysql/Config.in"
>> + source "package/mongodb/Config.in"
>> source "package/postgresql/Config.in"
>> source "package/redis/Config.in"
>> source "package/sqlcipher/Config.in"
>
> Why move it?
I moved it to keep alphabetical order since I changed the name from
mysql to mariadb in the Config.in file.
>
>
>
> Yours sincerely,
>
> Floris Bos
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Thanks,
Ryan Coe
next prev parent reply other threads:[~2016-09-14 18:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 22:05 [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0 Ryan Coe
2016-09-12 22:05 ` [Buildroot] [PATCH 1/1] [RFC] mysql: " Ryan Coe
2016-09-14 14:46 ` [Buildroot] [1/1,RFC] " Floris Bos
2016-09-14 18:44 ` Ryan Coe [this message]
2016-09-19 3:43 ` [Buildroot] [RFC v2] mysql: replace mysql with mariadb 10.1 Ryan Coe
2016-09-19 3:43 ` Ryan Coe
2016-09-19 5:42 ` Thomas Petazzoni
2016-09-21 22:02 ` Arnout Vandecappelle
2016-09-22 5:33 ` Thomas Petazzoni
2016-09-22 9:28 ` Floris Bos
2016-09-23 23:00 ` Ryan Coe
2016-09-22 11:00 ` Floris Bos
2016-09-14 22:41 ` [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0 Stewart Smith
2016-09-15 6:18 ` Arnout Vandecappelle
2016-09-17 13:51 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2016-09-15 21:09 [Buildroot] [1/1,RFC] mysql: " Floris Bos
2016-09-15 21:17 ` Arnout Vandecappelle
2016-09-17 13:50 ` Thomas Petazzoni
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=57D99A86.5080308@gmail.com \
--to=bluemrp9@gmail.com \
--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