移植过去后尝试使用指令 ./mysql_install_db --user=root --force --ba
sedir=/usr/local/mysql --datadir=var/lib/mysql 时出现以下错误:
/usr/local/mysql/bin/my_print_defaults: line 2: T: not found
/usr/local/mysql/bin/my_print_defaults: line 8: syntax error: unexpected ")"
/usr/local/mysql/bin/my_print_defaults: line 1: ELF: not found
Installing MySQL system tables...
/usr/local/mysql/libexec/mysqld: line 1: syntax error: unexpected "("
网上查询了说是shell 不一致的问题:
但是我修改本地PC配置为:
/home/shenyuan/nfs_root # echo $00 P' ]; ^/ T# @) [+ o5 j0 }- m* U
sh0 E4 A. l7 i3 Y } X
/home/shenyuan/nfs_root # ls -l /bin/sh
lrwxrwxrwx 1 root root 12 Jun 30 22:10 /bin/sh -> /bin/busybox
arm端配置为:4 z2 W* ]$ T9 P- V( j5 F' z$ P
root@freescale /usr/local/mysql/bin$ echo $0
-sh
root@freescale /usr/local/mysql/bin$ ls -l /bin/sh" |# U5 f- C' F2 I0 \. M
lrwxrwxrwx 1 root root 7 Jun 30 2018 /bin/sh -> busybox
root@freescale /usr/local/mysql/bin$
还是出现一样的问题!
| 欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) | Powered by Discuz! X3.2 |