1、MySql的安裝和串連測試

來源:互聯網
上載者:User

標籤:

一、mysql資料庫的安裝

1、開啟mysql-5.0.18-win32檔案夾,然後點擊setup.exe

2、點擊next

3、選取“custom”,點擊next

4、點擊“change”,改變安裝路徑,然後點擊next

 

5、點擊“install”後,等待幾秒鐘,出現圖

 

6、點next

7、點next

8、點“finish”,進入資料庫配置

9、點next

10、點next

11、選取“Server Machine”,點“next”

 

12、點“next”

 

13、點“next”

14、點“next”

15、點“next”

16、選取“Manual Selected Default Character Set /Collation”,然後選取字元集為“GBK”,點“next”

17、修改ServiceName mysql5018,點“next”(註:此處貴行需寫的是mysql5018,因為現在你要裝的是mysql 5.0.18版本的mysql)

 

18、去掉“Modify Security Settings”選取,點Next

 

19、點擊Execute

20、Mysql 安裝完畢

二、測試是否能串連上資料庫,剛裝好資料庫沒有密碼

→  Window+R 輸入cmd 開啟dos

→  C:\Users\Dell>cd/

→  C:\>d:

→  D:\>cd D:\Program Files\MySQL\MySQL Server 5.0\bin

→  D:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -uroot

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 3

Server version: 5.0.45-community-nt MySQL Community Edition (GPL)

Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the buffer.

→  mysql>

 

1、MySql的安裝和串連測試

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.