IYSQL - Improve Your SQL
基于SQLAdvisor与Soar的开源Web分析工具。
IYSQL - Improve Your SQL
License: Apache License 2.0
IYSQL - Improve Your SQL
基于SQLAdvisor与Soar的开源Web分析工具。
reorganize structure , for easier install
哥,你的初始化文件/scripts/init.sh:
#!/bin/bash
set -eu
echo 'Check install environment'
NEEDED_COMMANDS="soar git"
for cmd in ${NEEDED_COMMANDS} ; do
if ! command -v "${cmd}" &> /dev/null ; then
echo -e "\033[91m${cmd} is not set.Eg:\nalias ${cmd}=/root/${cmd}\nexport ${cmd}=/root/${cmd}\033[0m"
exit 1
else
echo "${cmd} is install."
fi
done
app='.'
echo -e '\033[33mStart install python dependency\033[0m'
pip3 install -r requirments.txt
exit 0
这里的“NEEDED_COMMANDS="soar git”是啥意思?这个初始化脚本怎么也执行不成功
Check install environment
soar is not set.Eg:
alias soar=/root/soar
export soar=/root/soar
brew install python3-pip python3,输出如下:
Updating Homebrew...
Error: No available formula with the name "python3-pip"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
执行sql报错permision denied,直接使用soar执行没问题,不知道是哪里配置不对还是什么原因
refer to XiaoMi/soar#37 (comment)
2018/10/25 16:37:07.650 [E] [env.go:143] CleanUp failed Error: Received #1044 error from MySQL server: "Access denied for user ''@'ip.%.%.%' to database 'optimizer_fkkV2wd427Mm7lwQ'"
需要额外的权限?
我soar是安装在/root/soar
/etc/profile 配置 soar=/root/soar
为什么执行./scripts/init.sh还是报soar is not set
将明文显示的数据库密码隐藏显示为 *
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.