mariadb: fix warning while invoking 'mysql_install_db' on target
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 9 Oct 2013 07:30:35 +0000 (07:30 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:33:51 +0000 (08:33 -0800)
Invoke 'mysql_install_db' on target, there are some warnings:
...
Installing MariaDB/MySQL system tables...
131009  6:13:14 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
OK
Filling help tables...
131009  6:13:14 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
OK
...

Modify my.cnf to use '--skip-external-locking' instead of '--skip-locking'
could fix this issue.

(From meta-openembedded rev: 4e59f5680df8577048821eed12277cee994876d4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/mysql/mariadb/my.cnf

index 8470817..d174381 100644 (file)
@@ -14,7 +14,7 @@ pid-file                                      = /var/lib/mysql/mysqld.pid
 log-error                                      = /var/log/mysqld.err
 basedir                                        = /usr
 datadir                                        = /var/mysql
-skip-locking
+skip-external-locking
 skip-networking
 ignore-builtin-innodb
 bind-address                                   = localhost