Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS8下出问题 #13

Closed
LsnmxNB opened this issue Mar 10, 2020 · 1 comment
Closed

CentOS8下出问题 #13

LsnmxNB opened this issue Mar 10, 2020 · 1 comment

Comments

@LsnmxNB
Copy link

LsnmxNB commented Mar 10, 2020

===进行全国PING测试结束===
警告:SQL语句有误
错误代码:1064;
错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Hosted by Cox - Wichita (Wichita, KS) [43.14 km]: 45.922 ms' Testing download sp' at line 1

python修改成python3解决了CentOS8不能使用
#带宽测试
bdtest()
{
if [ "$os" == 'centos' ]; then
yum -y install python3
else
apt-get update
apt-get -y install python3
fi
echo "===开始测试带宽===" | tee -a $logfilename
wget --no-check-certificate https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py 1>/dev/null 2>&1
python3 speedtest_cli.py --share | tee -a $logfilename
echo -e "===带宽测试结束==\n\n" | tee -a $logfilename
rm -rf speedtest_cli.py
}

@91yun
Copy link
Owner

91yun commented Apr 16, 2020

新的更新已经修复了centos8的兼容.

@91yun 91yun closed this as completed Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants