1. mysql 快速入门

  • download

mysql-5.7.30-macos10.14-x86_64.dmg

ls /usr/local/mysql

export PATH=${PATH}:/usr/local/mysql/bin

echo $SHELL
snowdreams1006@snowdreams1006deMacBook-Pro bin % whereis mysql
snowdreams1006@snowdreams1006deMacBook-Pro bin % which mysql
mysql not found
# mysql
export MYSQL_HOME=/usr/local/mysql
export PATH=$MYSQL_HOME/bin:$PATH
mysql -uroot -p

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('新密码');

1.1. ref doc

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('123456');

作者: 雪之梦技术驿站
链接: https://snowdreams1006.github.io/todo/mysql-quickstart.html
来源: 雪之梦技术驿站
本文原创发布于「雪之梦技术驿站」,转载请注明出处,谢谢合作!

https://snowdreams1006.github.io/snowdreams1006-wechat-open.png

© snowdreams1006 all right reserved,powered by Gitbook文件修订时间: 2020-09-08 01:09:35

results matching ""

    No results matching ""