当前位置:网站首页>1. Simple command line connection to database
1. Simple command line connection to database
2022-07-28 16:21:00 【Crab [email protected]】
Command line connection to database
- open cmd Input mysql -u root -p, Then enter the password to connect to the database
- a key : All statements must end with a semicolon
- Several common statements :
show database; --------- View all databases
use + Database name -------------- Switch database ( This can be done without a semicolon )
show tables;--------------- Look at all the tables in the database
describe + Table name ;----------- View all the information in the table

create database+ Database name ;-------- Create a database
exit------------------------------------------ Exit connection

After creating a database, you can SQLyog View in
- - Single-line comments
/**/ Multiline comment
- Whole MySQL It is divided into 4 Languages ( The core is CRUD Additions and deletions )
- DDL Database definition language
- DML Database operation language
- DQL Database query language
- DCL Database control language
版权声明
本文为[Crab [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/196/202207130914330907.html
边栏推荐
- Shell programming specifications and variables
- Learning methods 123
- Telecommuting can be easily realized in only three steps
- 解决电脑恶意广告弹窗的思路
- 2021 Yahong pen test question 2
- Multipurpose mixed signal 8ai/4di/do to serial port rs485/232modbus acquisition module ibf30
- Is MySQL query limit 1000,10 as fast as limit 10? If I want to page, what should I do?
- 高精度绝对角度传感器应用高速度角度监测
- 光学雨量计应用降雨量检测
- Darknet training yolov4 record
猜你喜欢

Redis系列4:高可用之Sentinel(哨兵模式)

Dynamic programming -- digital statistics DP

Ask if you don't understand, and quickly become an advanced player of container service!

Summary of for loop in JS

Temperature measurement and imaging accuracy of ifd-x micro infrared imager (module)

深入理解Istio流量管理的熔断配置

JS priority queue

资本「断供」两年,我只能把公司卖了

MLX90640 红外热成像仪测温传感器模块开发笔记(八)

Two special functions (arrow function and method)
随机推荐
Rust Getting Started Guide (rustup, cargo)
Notes on October 22, 2021
Remember the common JS methods of projects
ffmpeg获取首帧
mysql 查看事件状态语句和修改办法
【Multisim仿真】LM339过零电路仿真
How to measure the vibrating wire sensor by vibrating wire acquisition module?
Record doc
js 双向链表 01
Ask if you don't understand, and quickly become an advanced player of container service!
Laser rangefinder non-contact surface crack monitor
KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书
Detectron2 installation and testing
JS bidirectional linked list 01
IFD-x 微型红外成像仪(模块)的温度测量和成像精度
LabVIEW LINX Toolkit控制Arduino设备(拓展篇—1)
12V pulse speed measurement to 24V level signal conversion transmitter
带你来浅聊一下!单商户功能模块汇总
Zhengda cup hacker marathon data analysis competition
Application of optical rain gauge to rainfall detection