c# Newtonsoft.Json序列化和反序列 js解析

一、绿色版安装

1、下载MySQL 8.0.16,地址:http://dev.mysql.com/downloads/mysql/ (选择32位或者64位版本需根据自身PC情况)

2、解压到你自己的磁盘

3. 配置Path路径:系统属性 => 高级 => 高级 => 系统变量 => path后添加 (如:D:\Tools\mysql-8.0.16-winx64\bin)

4. 在mysql根目录下新建 my.ini,此文件是初始化信息(默认mysql根目录不存此文件):

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL. [mysqld] # Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at % of total RAM for dedicated server, else %.
# innodb_buffer_pool_size = 128M # Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin # These are commonly set, remove the # and set as required.
basedir = D:\Tools\mysql-8.0.16-winx64
datadir = D:\Tools\mysql-8.0.16-winx64\data
port =
# server_id = ..... # Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
lower_case_table_names=2 # Windows下忽略大小写

5. 系统管理员模式运行cmd 输入如下命令

C:\WINDOWS\system32>d:  //进入d盘

D:\>cd "Tools\mysql-8.0.16-winx64\bin" //进入mysql bin文件下

D:\Tools\mysql-8.0.-winx64\bin>mysqld --install //执行安装mysql服务进程

Service successfully installed.  //提示服务安装成功

D:\Tools\mysql-8.0.-winx64\bin>mysqld --initialize --console //根据配置文件初始化mysql,注意查看输出的日志中有临时密码, C_:qVsvG6Hxa 就是登录的临时密码
A temporary password is generated for root@localhost: C_:qVsvG6Hxa D:\Tools\mysql-8.0.-winx64\bin>net start mysql //启动mysql服务 D:\Tools\mysql-8.0.-winx64\bin>mysql -uroot -p //登录mysql
Enter password: //这里输入上面的临时密码 mysql> alter user root@localhost identified by ''; //修改密码,123456是当前root账号登陆的密码 mysql> flush privileges; // 刷新系统表 应用上面修改的新密码

到处安装完成!

上一篇:scrapy爬虫系列之一--scrapy的基本用法


下一篇:EM算法原理详解