- 设置密码
set password for root@localhost = password('123');
- 在
~/.bash_profile
中添加配置环境变量
PATH="/usr/local/mysql/bin:${PATH}"
export PATH
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
export VERSIONER_PYTHON_PREFER_64_BIT=yes
export VERSIONER_PYTHON_PREFER_32_BIT=no
@晴-2017-05-24 16:33:38