真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

mysql8.0.13安裝配置方法圖文教程

本文為大家分享了MySQL 8.0.13 安裝配置教程,供大家參考,具體內(nèi)容如下

成都創(chuàng)新互聯(lián)公司是一家專(zhuān)注于網(wǎng)站建設(shè)、成都網(wǎng)站建設(shè)與策劃設(shè)計(jì),聊城網(wǎng)站建設(shè)哪家好?成都創(chuàng)新互聯(lián)公司做網(wǎng)站,專(zhuān)注于網(wǎng)站建設(shè)十余年,網(wǎng)設(shè)計(jì)領(lǐng)域的專(zhuān)業(yè)建站公司;建站業(yè)務(wù)涵蓋:聊城等地區(qū)。聊城做網(wǎng)站價(jià)格咨詢(xún):13518219792

下載

下載地址

mysql 8.0.13 安裝配置方法圖文教程

解壓

mysql 8.0.13 安裝配置方法圖文教程

解壓之后沒(méi)有my.ini文件(我的端口設(shè)置的3308),截圖中是我增加的

[client]
port = 3308
default-character-set = utf8
 
[mysqld]
port = 3308
character_set_server = utf8
 
basedir=D:\MySQL\mysql-8.0.13-winx64
datadir=D:\MySQL\mysql-8.0.13-winx64\data
 
group_concat_max_len=20000
 
 
[WinMySQLAdmin]
D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe

管理員命令行

在MySQL安裝目錄的 bin 目錄下執(zhí)行命令:

mysqld --initialize --console

得到如下結(jié)果

D:\MySQL\mysql-8.0.13-winx64\bin>mysqld --initialize --console
2018-10-24T05:32:45.732454Z 0 [System] [MY-013169] [Server] D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe (mysqld 8.0.13) initializing of server in progress as process 43080
2018-10-24T05:32:45.870611Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2018-10-24T05:33:14.879343Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: MMQP.YfCy5XY
2018-10-24T05:33:37.812581Z 0 [System] [MY-013170] [Server] D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe (mysqld 8.0.13) initializing of server has completed
 
D:\MySQL\mysql-8.0.13-winx64\bin>

看到有個(gè)警告,查了一下mysql建議使用utf8mb4

修改my.ini文件

[client]
port = 3308
default-character-set = UTF8MB4 
 
[mysqld]
port = 3308
character-set-server = UTF8MB4 
 
basedir=D:\MySQL\mysql-8.0.13-winx64
datadir=D:\MySQL\mysql-8.0.13-winx64\data
 
group_concat_max_len=20000
 
 
[WinMySQLAdmin]
D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe

警告沒(méi)有了

D:\MySQL\mysql-8.0.13-winx64\bin>mysqld --initialize --console
2018-10-24T06:06:51.100372Z 0 [System] [MY-013169] [Server] D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe (mysqld 8.0.13) initializing of server in progress as process 47804
2018-10-24T06:07:18.372699Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: nj>uUJkpH4/I
2018-10-24T06:07:36.024435Z 0 [System] [MY-013170] [Server] D:\MySQL\mysql-8.0.13-winx64\bin\mysqld.exe (mysqld 8.0.13) initializing of server has completed
 
D:\MySQL\mysql-8.0.13-winx64\bin>

上面打印了默認(rèn)密碼:nj>uUJkpH4/I

安裝服務(wù)

mysqld --install MySQL8.0

因?yàn)檫@是電腦上第二個(gè)mysql 所以服務(wù)名改成了 MySQL8.0

mysql 8.0.13 安裝配置方法圖文教程

啟動(dòng)服務(wù)

net start MySQL8.0

mysql 8.0.13 安裝配置方法圖文教程

修改初始密碼

登錄mysql之后執(zhí)行

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

mysql 8.0.13 安裝配置方法圖文教程

精彩專(zhuān)題分享:

mysql不同版本安裝教程

mysql5.7各版本安裝教程

mysql5.6各版本安裝教程

mysql8.0各版本安裝教程

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持創(chuàng)新互聯(lián)。


分享題目:mysql8.0.13安裝配置方法圖文教程
本文路徑:http://weahome.cn/article/gshhes.html

其他資訊

在線咨詢(xún)

微信咨詢(xún)

電話咨詢(xún)

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部