首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> MySQL
Questions in category: MySQL (MySQL).

下载MySQL community 8.0.12 zip 版本并配置

Posted by haifeng on 2018-09-04 22:50:32 last update 2018-09-05 17:52:41 | Answers (0)


(1) 下载 mysql-8.0.12-win64.zip

解压缩到某个文件夹, 比如 U 盘 F:\programs\mysql-8.0.12-winx64

一般没有 data 这个文件夹, 也没有 my-default.ini 这个文件.

新建一个 my.ini 文件, 或者从其他地方拷贝一个 my-default.ini 文件到当前目录 (F:\programs\mysql-8.0.12-winx64) 然后改名为 my.ini

my.ini 的内容为:

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/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 70% of total RAM for dedicated server, else 10%.
# 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 = F:/programs/mysql-8.0.12-winx64
datadir = F:/programs/mysql-8.0.12-winx64/data
port = 3306
# server_id = .....

bind-address = 127.0.0.1


# 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

 

 

显然拷贝自 mysql 5.6 版本.

 

(2)以管理员身份打开命令提示符( cmd 命令行窗口)

执行下面的命令:

mysqld --initialize-insecure

这将自动生成无密码的 root 用户.

然后执行

mysqld --install

net start mysql

 

 

 


References:

https://blog.csdn.net/liuwenbiao1203/article/details/53243487