/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
大部分做編程工作的朋友都需要Mysql數據庫64位中文版吧,能夠讓你的軟件順利調取各種數據,2019Mysql數據庫下載是最新的數據庫,兼容性非常好支持win7/win8.1/win10。Mysql數據庫64位中文版能夠讓你更簡單的工作,不會有版本的更迭麻煩了!
高速
高速是MySQL的顯著特性,在MySQL中,使用了極快的“B樹”磁盤表(MyISAM)和索引壓縮;通過使用優化的“單掃描多連接”,能夠實現極快的連接。
支持多平台
MySQL支持超過20種開發平台,包括Linux、Windows、FreeBSD、IBM AIX、HP-UX、Mac OS、OpenBSD、Solaris等。
支持各種開發語言
MySQL為各種流行的程序設計語言提供支持,為它們提供了很多API函數,包括C、C++、Java、Perl、PHP等。
提供多種存儲器引擎
MySQL中提供了多種數據庫存儲引擎,各引擎各有所長,適用於不同的應用場合,用戶可以選擇合適的引擎以得到高性能。
功能強大
強大的存儲引擎使MySQL能夠有效應用於任何數據庫應用係統,高效完成各種任務。
支持大型數據庫
InnoDB存儲引擎將InnoDB表保存在一個表空間內,該表空間可由數個文件創建。
安全
靈活和安全的權限和密碼係統,允許基於主機的驗證。
價格低廉
MySQL采用GPL許可,很多情況下,用戶可以免費使用MySQL。
1.將下載的 mysql-5.7.17-winx64.zip 解壓自定義目錄,將把這個壓縮包解壓至 D:\mysql-5_x64 目錄;
2.打開這個目錄,發現裏麵的文件夾和文件跟一個安裝好後的MySQL基本沒有區別
3.修改MySQL配置文件,在mysql-5_x64目錄下有一個my-default.ini,可以算作模板來使用,裏麵的內容不是很多!可以自己創建一個 my.ini作為MySQL配置文件,打開my.ini設置
[client]
port=3306
#客戶端字符類型,與服務端一致就行,建議utf8
default-character-set=utf8
[mysqld]
#綁定IPv4和3306端口
bind-address = 0.0.0.0
port = 3306
#服務端字符類型,建議utf8
character_set_server=utf8
# 設置mysql的安裝目錄
basedir=D:/mysql-5_x64
# 設置mysql數據庫的數據的存放目錄
datadir=D:/mysql-5_x64/data
# 允許最大連接數
max_connections=201
這樣一個基本的MySQL環境所需要的參數就夠了
4.MySQL環境變量
右擊這台電腦-->屬性-->高級-->環境變量-->"用戶變量"新建變量MYSQL_HOME 值D:\mysql-5_x64 ,"係統變量"找到變量path 編輯 在後麵加上 ;%MYSQL_HOME%\bin
5.安裝MySQL數據庫
運行cmd (Win8 、Win10以管理員運行cmd)-->進入D:\mysql-5_x64\bin目錄
Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>D:
D:\>cd mysql-5_x64
D:\mysql-5_x64>cd bin
D:\mysql-5_x64\bin>
執行mysqld -install 安裝MySQL
D:\mysql-5_x64\bin>mysqld -install
Service successfully installed
執行net start mysql啟動MySQL
D:\mysql-5_x64\bin>net start mysql
D:\mysql-5_x64\bin>net start mysql
MySQL 服務正在啟動 .
MySQL 服務已經啟動成功
啟動MySQL服務:net start mysql
停止MySQL服務:net stop mysql
刪除MySQL服務:sc delete mysql
修改Mysql密碼
D:\mysql-5_x64\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.26 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
進入'mysql'數據、刪除空用戶
更新密碼並重新刷權限表到內存(也可以用mysqladmin工具來設置密碼)
mysql> update User set Password=PASSWORD('123456') where User='root';
Query OK, 4 rows affected (0.00 sec)
Rows matched: 4 Changed: 4 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
嚐試登陸
D:\mysql-5_x64\bin>mysql -u root -p //用root用戶登入數據庫
Cnter password: ****** //輸入更新後的密碼 123456
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.6.26 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>