1.點(diǎn)擊進(jìn)入下載地址
Choosing the right file:
If you have an online connection while running the MySQL Installer, choose themysql-installer-web-communityfile.
If you do NOT have an online connection while running the MySQL Installer, choose themysql-installer-communityfile.
Note: MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.
? ? 選擇對(duì)應(yīng)安裝方式.在點(diǎn)擊No Thanks,just start my download即可下載
2.安裝
? 注意:mysql,只支持在以上的版本中運(yùn)行
? ? ? ? ??32bit下載連接? ? ? ? ??64bit下載連接
? 安裝過程 ? 略..
3.簡單的使用和驗(yàn)證
? ? 打開命令窗口 (MySQL 5.6 Command Line Client - Unicode)
Enter ?password:
? ? ? 輸入安裝時(shí)候設(shè)置的密碼,并按回車鍵進(jìn)入
? ? ? 顯示mysql> 表示已經(jīng)進(jìn)入
創(chuàng)建一個(gè)數(shù)據(jù)庫: ? ??
mysql> create database bd_demo;
刪除已創(chuàng)建的數(shù)據(jù)庫:
mysql> drop database bd_demo;
查看創(chuàng)建的數(shù)據(jù)庫:
mysql> show databases;
? ? ? 注:sql的語句后面加分號(hào)";"
4.mysql使用手冊(cè)
? ? ? ??mysql使用手冊(cè)
5.一些注意事項(xiàng)
? ? ? ?a)輸入密碼后閃退,應(yīng)檢查服務(wù)器是否啟動(dòng),可打開任務(wù)管理器查看進(jìn)程.
? ? ? b)每一條sql命令語句結(jié)尾以分號(hào)";"結(jié)束.如果沒輸入分號(hào),會(huì)報(bào)語法錯(cuò)誤
? ? ? c).....(善用搜索工具)