mysql_mac新安装配置相关

  • 设置密码
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

你可能感兴趣的:(mysql_mac新安装配置相关)