Installation Environment:
win10+Vmware14+CenterOS7.6
Mysql version is: mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz
mysql official website:
https://dev.mysql.com/downloads/mysql/
Before you begin installing:
参考地址:
https://blog.csdn.net/wangshuminjava/article/details/80873997
参考地址:
https://blog.csdn.net/weixin_41846320/article/details/85064058
Thank you!
Show results:
to sum up:
There have been two major errors:
1, my.cnf placed in the wrong location
abnormal:
Modify the position, not being given:
Second; password can not be modified
mysql environment configuration error:
vim /etc/profile
source /etc/profile
After modifying the environment configuration:
You can perform!
Bahrain can sleep!
Reference Address: https://blog.csdn.net/weixin_41122339/article/details/80415165
Reference Address: https://blog.csdn.net/LLDBSD/article/details/51232758
Reference Address: https://blog.csdn.net/wangshuminjava/article/details/80873997
Reference Address: https://blog.csdn.net/weixin_41846320/article/details/85064058 (primary reference address)