EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba
; g! a/ O" c1 psedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误: /usr/local/mysql/bin/my_print_defaults: line 2: T: not found4 q; r9 l/ C* `1 v+ t, o
/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")"
$ `6 [6 g- }+ o/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found3 p1 O5 _+ `5 l' w; q* F
Installing MySQL system tables...8 r& r! E5 N# c. P
/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "(" 网上查询了说是shell 不一致的问题: 但是我修改本地PC配置为:0 k6 Y1 j3 r/ [" M. z6 o4 H
/home/shenyuan/nfs_root # echo $0
) _, ]( V( [( osh
0 a+ [ `9 m1 i3 q9 g" |5 e1 h/home/shenyuan/nfs_root # ls -l /bin/sh1 r- W/ E& U( R1 ]
lrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox ARM端配置为:/ q, C: {: ]9 ?# F; W9 P
root@freescale /usr/local/mysql/bin$ echo $0
# A* v7 L% e+ c' Q4 |$ P7 r-sh. b0 x0 H' [- Z! C+ y; H5 d. y
root@freescale /usr/local/mysql/bin$ ls -l /bin/sh
1 T0 S4 m* X1 y. I( `" e4 elrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox
/ j, S2 c% H4 X9 [" _root@freescale /usr/local/mysql/bin$ 还是出现一样的问题!
7 i. _2 y. Y; U: v; a |