EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba
/ T) u2 Z: B6 isedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误: /usr/local/mysql/bin/my_print_defaults: line 2: T: not found. ]1 f: X& [- |' P
/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")"1 J2 @( f- O M# p- K1 q- P7 |
/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found( [0 B8 |/ L2 R4 P7 ]3 s, |5 C8 c6 p
Installing MySQL system tables...
* w6 Z" w9 @2 X. B/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "(" 网上查询了说是shell 不一致的问题: 但是我修改本地PC配置为:
0 N$ d5 Q F" w+ V4 h$ E7 O1 R( Y3 \/home/shenyuan/nfs_root # echo $0
4 \! P9 C% V1 `4 ]7 f+ rsh5 O. T7 x* }6 f
/home/shenyuan/nfs_root # ls -l /bin/sh# Q- [1 F, ?& j+ {' X% M2 F
lrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox ARM端配置为:# p! o+ K) {) Q$ |) t
root@freescale /usr/local/mysql/bin$ echo $0
$ ~" Q( }! t+ m0 s$ X-sh6 h8 E+ W$ u1 U
root@freescale /usr/local/mysql/bin$ ls -l /bin/sh
; {7 D X& ?% x a, u% _lrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox
1 W1 Y$ k" \+ g& Sroot@freescale /usr/local/mysql/bin$ 还是出现一样的问题!
# C3 W+ \' t0 I' e1 l |