EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba: l& [: k6 m3 c# b* B6 l U
sedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误: /usr/local/mysql/bin/my_print_defaults: line 2: T: not found$ s+ I5 y6 N4 y; ^+ ?$ n" t0 T
/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")". v7 N5 s' g8 c j* F; k
/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found# Q; @+ Q* N! |& B6 t7 P2 F/ K7 R
Installing MySQL system tables.../ j( i" [- d; H+ `
/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "(" 网上查询了说是shell 不一致的问题: 但是我修改本地PC配置为:
5 W9 m; V% O9 {* A8 Q/home/shenyuan/nfs_root # echo $0
: o' V$ f+ c9 w5 p6 O9 msh: O: |$ e& `0 w2 B! E, z- ?: P
/home/shenyuan/nfs_root # ls -l /bin/sh0 ^) ]5 B$ K9 a) s4 I, }- l
lrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox ARM端配置为:2 A6 ~- w& _1 h2 W) Q
root@freescale /usr/local/mysql/bin$ echo $0! d3 f9 m9 Z% U( R
-sh
& k- r9 M+ W: Q" l5 \; c" vroot@freescale /usr/local/mysql/bin$ ls -l /bin/sh
# d! A( M! G$ N0 u# nlrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox
3 a5 F1 [1 N8 P) Jroot@freescale /usr/local/mysql/bin$ 还是出现一样的问题!
! W" _) P0 z5 P5 N0 }- u |