少学习多摸鱼

day46 mysql开始

归来

放假了 前几天和对象出去玩了

而且还阳了 虚了一个多星期

js学完准备一边看vue的课一边学习后端的知识

安装mysql

  1. 下载

  2. 放置环境目录

  3. 配置环境变量(由于之前安装过mysql,先进行了删除

  4. 安装mysql服务

  5. 初始化数据库文件

  6. 启动mysql修改密码

  7. 重启mysql

  8.  

     

  1. 代码:

 mysqld –-initialize-insecure --user=mysql
 net start mysql
 mysql -u root -p
 update mysql.user set authentication_string=password('123456') where user='root' and Host='localhost';
 flush privileges;
 net stop mysql
 net start mysql
 ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';

over

posted @ 2022-12-28 20:24  北海之上  阅读(19)  评论(0)    收藏  举报
/* 粒子吸附*/