ray916.github.io - Ray's 博客

Description: 内心幻想文艺的工科男

next (2075) hexo (1118)

Example domain paragraphs

1、添加path环境变量; 2、修改my-default.ini文件里的port, basedir以及datadir并新建相应文件夹; 3、管理员权限运行cmd,进入mysql安装文件夹的bin目录下运行命令:

1 2 3 4 5 mysqld --initialize mysqld -install/remove net start mysql mysql -u root -p ALTER USER 'root' @ 'localhost' IDENTIFIED BY 'new_password' ; 初始化成功后在datadir目录下生成的文件中xxx.err里有root账户的临时密码: 2016-10-20T02:18:03.488650Z 1 [Note] A temporary password is generated for root@localhost: _i6Ry0xqIfwL

搭建基于Hexo+Github的博客已经有段时间了,第一篇文章一直没写,具体的配置步骤忘的差不多,下面是之前参考的一个博客: