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.

Signed-off-by: Hongxu Jia <[email protected]>
---
 meta-oe/recipes-support/mysql/mariadb/my.cnf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb/my.cnf 
b/meta-oe/recipes-support/mysql/mariadb/my.cnf
index 8470817..d174381 100644
--- a/meta-oe/recipes-support/mysql/mariadb/my.cnf
+++ b/meta-oe/recipes-support/mysql/mariadb/my.cnf
@@ -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
-- 
1.8.1.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to