溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版

發(fā)布時(shí)間:2020-05-18 15:43:38 來(lái)源:網(wǎng)絡(luò) 閱讀:188 作者:三月 欄目:MySQL數(shù)據(jù)庫(kù)

本文主要給大家簡(jiǎn)單講講Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版,相關(guān)專業(yè)術(shù)語(yǔ)大家可以上網(wǎng)查查或者找一些相關(guān)書籍補(bǔ)充一下,這里就不涉獵了,我們就直奔主題吧,希望Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版這篇文章可以給大家?guī)?lái)一些實(shí)際幫助。

MySQL:5.6
操作系統(tǒng):Win7

2、下載MySQL 5.6

提供幾個(gè)下載地址:
官網(wǎng):https://dev.mysql.com/downloads/
鏡像:http://mirrors.163.com/

3、解壓

Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版

4、配置環(huán)境變量

Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版
具體地址:path:E:\SystemTools\mysql-5.6.41-winx64\bin;

5、配置MySQL配置文件

復(fù)制my-default.ini一份重命名為my.ini,修改其內(nèi)容為:

# 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.

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8

[mysqld]
character-set-server=utf8

# 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 = E:\SystemTools\mysql-5.6.41-winx64
datadir = D:\SystemTools\mysql-5.6.41-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 

效果圖
Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版

6、安裝MySQL服務(wù)

命令:

mysqld -install            ## 安裝MySQL服務(wù)
mysqld -remove         ## 卸載MySQL服務(wù)
net start mysql           ## 啟動(dòng)MySQL服務(wù)
net stop mysql           ## 停止MySQL服務(wù)

Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版

7、登錄MySQL數(shù)據(jù)庫(kù)并修改密碼

MySQL剛剛安裝,root是沒有用戶密碼的,可以直接登錄,如下:
Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版

Win7系統(tǒng)怎么樣安裝MySQL5.6解壓版就先給大家講到這里,對(duì)于其它相關(guān)問(wèn)題大家想要了解的可以持續(xù)關(guān)注我們的行業(yè)資訊。我們的板塊內(nèi)容每天都會(huì)捕捉一些行業(yè)新聞及專業(yè)知識(shí)分享給大家的。

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI