RDBMS(Relational Database Management System):关系型数据库管理系统
安装建议:尽量不要用.exe进行安装,用压缩包安装,对日后的卸载更为方便
下载地址:https://dev.mysql.com/downloads/mysql/
然后就开始下载,下载完成,得到了压缩包
[mysqld]basedir=D:\JAVA_Environment\MySQL\mysql-8.0.21datadir=D:\JAVA_Environment\MySQL\mysql-8.0.21\dataport=3306
D:\JAVA_Environment\MySQL\mysql-8.0.21
要换成自己的目录
cd \d D:\JAVA_Environment\MySQL\mysql-8.0.21\binmysqld -install
mysqld --initialize-insecure --user=mysql
net start mysql
mysql -u root -p#让你输入密码时直接回车即可ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
出现如下结果即成功!
#退出mysql管理界面eixt#停止mysql服务net stop mysql#开始mysql服务set start mysql
联系客服