EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba
+ E- s5 ?: M, C2 ^) ksedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误: /usr/local/mysql/bin/my_print_defaults: line 2: T: not found
& r. @! |8 s- }& @3 G, Z/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")"
+ J* M# p, i/ d" k0 f9 V( g/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found
7 p. V$ d1 @/ S( Q1 K3 J! L) LInstalling MySQL system tables...
- H$ R7 d' b$ j$ r9 F' w/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "(" 网上查询了说是shell 不一致的问题: 但是我修改本地PC配置为:% F5 I1 w& |+ G% l# D$ S9 |
/home/shenyuan/nfs_root # echo $01 O. o$ ?! i: d; ~
sh
; T5 Y; s/ _, u3 d3 N$ {/home/shenyuan/nfs_root # ls -l /bin/sh$ V1 O3 P6 \7 k$ T: n4 r
lrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox ARM端配置为:- O3 `3 L1 N+ [( I; _; I4 d
root@freescale /usr/local/mysql/bin$ echo $0
. d5 q4 V8 V' S/ I6 M8 w. Z-sh
5 S; a7 X2 W9 aroot@freescale /usr/local/mysql/bin$ ls -l /bin/sh' l) o4 G. y/ Z9 X* V* W. ~
lrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox$ j+ U9 U7 }% v! G# b W: A* j6 x$ s
root@freescale /usr/local/mysql/bin$ 还是出现一样的问题! ! a6 J* ?3 g% P" ]
|