mysql采坑
授权命令: grant all privileges on *.* to root@"%" identified by "root" with grant option;
flush privileges
拷贝data目录,提示表不存在:https://www.cnblogs.com/diyunfei/p/8395228.html
-bash: mysql: command not found 解决办法:
alias mysql=/usr/local/mysql/bin/mysql
mysql -u root -p