從MSQL官網(wǎng)下載MySQL服務(wù)器安裝軟件包,下面以mysql-installer-community-5.7.3.0-m13.msi為例。

在麒麟等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都做網(wǎng)站、網(wǎng)站制作 網(wǎng)站設(shè)計(jì)制作按需設(shè)計(jì)網(wǎng)站,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站設(shè)計(jì),全網(wǎng)整合營(yíng)銷(xiāo)推廣,外貿(mào)營(yíng)銷(xiāo)網(wǎng)站建設(shè),麒麟網(wǎng)站建設(shè)費(fèi)用合理。
1、雙擊進(jìn)入安裝
2、在協(xié)議許可(License?Agreement)界面,勾選“I?accept?the?license?terms”,點(diǎn)擊“Next”。
3、在檢查更新信息(Find?latest?products)界面,勾選“Skip?the?check?for?updates(no?recommended)”跳過(guò)檢查,然后點(diǎn)擊“Next”。
4、在選擇安裝類(lèi)型(Choosing?a?Setup?Type)界面,根據(jù)安裝需求選擇安裝類(lèi)型(推薦默認(rèn)開(kāi)發(fā)版本),設(shè)置MySQL安裝路徑和數(shù)據(jù)存放路徑,最后點(diǎn)擊“Next”。
5、在檢查要求(Check?Requirements)界面,點(diǎn)擊“Next”。
6、安裝進(jìn)度(Installation?progress)界面,點(diǎn)擊“Execute”執(zhí)行。
7、等待安裝進(jìn)度完畢,點(diǎn)擊“Next”。
8、進(jìn)入配置概述(Configuration?Overview)界面,點(diǎn)擊“Next”。
9、在MySQL服務(wù)配置(MySQL?Server?Configuration)界面,默認(rèn)不做修改,點(diǎn)擊“Next”。
10、設(shè)置根賬戶(root賬戶)密碼。
11、添加(非根)用戶賬戶。其目的是便于數(shù)據(jù)庫(kù)權(quán)限管理,為遠(yuǎn)程訪問(wèn)者提供安全賬戶。
12、默認(rèn)windows服務(wù)配置不做修改,點(diǎn)擊“Next”。
13、回到配置概述(Configuration?Overview)界面,安裝完畢點(diǎn)擊“Next”。
14、MySQL安裝完成(Installation?Complete),點(diǎn)擊“Finish”。
15、若勾選“安裝后啟動(dòng)Mysql工作臺(tái)”(Start?Mysql?Workbench?after?Setup),可見(jiàn)如下界面。
注意:MySQL環(huán)境變量配置。
在windows命令提示符中輸入mysql,提示“mysql”不是內(nèi)部或外部命令。只需將MySQL安裝路徑添加系統(tǒng)環(huán)境變量即可。
如安裝路徑為“D:\Program?Files\MySQL”目錄,則進(jìn)入mysql?server的bin目錄下復(fù)制路徑;其次在環(huán)境變量中編輯變量Path,變量值中輸入“;”后粘貼“D:\Program?Files\MySQL\MySQL?Server?5.7\bin”路徑,最后從新打開(kāi)命令提示符窗口運(yùn)行mysql即可。
Navicat for MySQL 安裝軟件和破解補(bǔ)丁免費(fèi)下載
鏈接:
提取碼:ultn ?
Navicat for MySQL是一套管理和開(kāi)發(fā)MySQL或MariaDB的理想解決方案,支持單一程序,可同時(shí)連接到MySQL和MariaDB。這個(gè)功能齊備的前端軟件為數(shù)據(jù)庫(kù)管理、開(kāi)發(fā)和維護(hù)提供了直觀而強(qiáng)大的圖形界面,給MySQL或MariaDB新手以及專業(yè)人士提供了一組全面的工具。
使用yum安裝mysql數(shù)據(jù)庫(kù)的軟件包 [root@xuegod63 ~]# yum -y install mariadb-server mariadb 。
注:? mariadb-server?? #MariaDB數(shù)據(jù)庫(kù) mariadb? ? ? # MariaDB服務(wù)器Linux下客戶端 。
注:從centos7系統(tǒng)開(kāi)始,系統(tǒng)中自帶的mysql數(shù)據(jù)庫(kù)變成了mariadb-server,mariadb-server和mysql操作上一樣。mariadb-server是mysql的一個(gè)分支。
啟動(dòng)數(shù)據(jù)庫(kù)服務(wù)[root@xuegod63 ~]# systemctl start? mariadb? #啟動(dòng)MariaDB服務(wù)。[root@xuegod63 ~]# systemctl enable? mariadb? #設(shè)置開(kāi)啟自動(dòng)啟動(dòng)MariaDB服務(wù)。
安裝完mariadb-server后,運(yùn)行mysql_secure_installation去除安全隱患,[root@xuegod63 ~]# mysql_secure_installation #進(jìn)入安全配置導(dǎo)向。
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current,password for the root user. If you've just installed MySQL, and,you haven't set the root password yet, the password will be blank,,so you should just press enter here.Enter current password for root (enter for none):?? #初次運(yùn)行直接回車(chē),因?yàn)閞oot用戶沒(méi)有密碼。
OK, successfully used password, moving on,Setting the root password ensures that nobody can log into the MySQL,root user without the proper authorisation.,Set root password? [Y/n] Y #是否設(shè)置root用戶密碼,輸入Y。
New password: 123456?? #新密碼123456,Re-enter new password: 123456,Password updated successfully!Remove anonymous users? [Y/n] Y?? #是否刪除匿名用戶,生產(chǎn)環(huán)境建議刪除,所以直接回車(chē)或Y。
Success!Normally, root should only be allowed to connect from 'localhost'.? Thisensures that someone cannot guess at the root password from the network.Disallow root login remotely? [Y/n] Y? #是否禁止root遠(yuǎn)程登錄,根據(jù)自己的需求選擇Y/n并回車(chē)建議禁止。
Success!By default, MariaDB comes with a database named 'test' that anyone canaccess.? This is also intended only for testing, and should be removedbefore moving into a production environment.Remove test database and access to it? [Y/n] Y?? #是否刪除test數(shù)據(jù)庫(kù),直接回車(chē)或Y。
分享文章:mysql數(shù)據(jù)庫(kù)怎么安 mysql數(shù)據(jù)庫(kù)安裝
當(dāng)前地址:http://chinadenli.net/article34/hhjcse.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供商城網(wǎng)站、網(wǎng)站營(yíng)銷(xiāo)、網(wǎng)頁(yè)設(shè)計(jì)公司、企業(yè)建站、網(wǎng)站策劃、網(wǎng)站設(shè)計(jì)公司
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)