- OS : Ubuntu 18.04.1 LTS
- DBMS : mysql 8.0.12
- blog : blog.csdn.net/shiwanwu
- typesetting : Markdown
數據,數據,命根就在數據 ! 操作數據庫時,一定要謹慎小心。師萬物 的代碼看看就好,要有自己的判斷。遇到抉擇,要不恥上下問。
example
stu@Ubuntu:~$ mysql -h 127.0.0.1 -u root -p -P 3306
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 73
Server version: 8.0.12 MySQL Community Server - GPL
Copyright (c) 2000, 2018, 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> exit
Bye
stu@Ubuntu:~$
more knowledge
參數 | 說明 | 備註 |
---|---|---|
-h 127.0.0.1 | 主機地址 | 連接本機的mysql,可以不寫 |
-u root | 用戶名 | |
-P 3306 | 端口號 | 端口爲3306時,可不寫 |
reference
resource
- [手冊] dev.mysql.com/doc
- [源碼] downloads.mysql.com/archives/community
- [Bug ] bugs.mysql.com
- [ 測試數據 ] github.com/datacharmer/test_db
- [規範 - 參考] yq.aliyun.com/articles/69327
- [排名 - 參考] db-engines.com/en
- [平臺] www.csdn.net
MySQL是關係型數據庫管理系統,目前是開源的(2019-02)。
明確權限,恰當地選擇引擎與字符集等,規範命名。
MariaDB,Redis,MongoDB,PostgreSQL,Hive,HBase等,多作了解,拓寬心量。
Workbench,phpMyAdmin,Navicat等圖形化管理工具,豫兮若冬涉川。