EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba
2 I2 R$ o8 l% x) [8 w9 U1 `: ksedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误: /usr/local/mysql/bin/my_print_defaults: line 2: T: not found4 P# m% Q2 v( Y3 ]; ~; n1 M2 B# |
/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")"$ m, e- B. o1 m" P( ]
/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found: g4 K% x h$ s- X# a( `( S, G
Installing MySQL system tables...& q( \5 N( G+ S+ o% p& v
/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "(" 网上查询了说是shell 不一致的问题: 但是我修改本地PC配置为:5 ]2 v2 n' `7 X3 K
/home/shenyuan/nfs_root # echo $0
" ~4 M1 W" C/ f* rsh+ }" h4 l9 a* z9 G- u
/home/shenyuan/nfs_root # ls -l /bin/sh
" y" E0 C6 v Y- d$ Z2 X2 dlrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox ARM端配置为:
. c" J0 J8 M* B" `* @0 e9 B* q2 \root@freescale /usr/local/mysql/bin$ echo $03 J* a7 g, j: @, E
-sh
3 q2 g1 Y5 L3 _, [root@freescale /usr/local/mysql/bin$ ls -l /bin/sh
+ b3 [1 a8 j! ?2 `: ylrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox
6 G' S/ V" y- a, jroot@freescale /usr/local/mysql/bin$ 还是出现一样的问题!
W' w O+ x1 y+ t6 ]) ] |