当前位置:网站首页>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
边栏推荐
- 12V pulse speed measurement to 24V level signal conversion transmitter
- LabVIEW Linx toolkit controls Arduino equipment (expansion-1)
- 【Multisim仿真】LM339过零电路仿真
- Numpy ndarray learning < I > Foundation
- 疫情红利消失,「居家健身」泡沫消散
- 带你来浅聊一下!单商户功能模块汇总
- Dynamic programming -- digital statistics DP
- IFD-x 微型红外成像仪(模块)的温度测量和成像精度
- I'll show you a little chat! Summary of single merchant function modules
- 2-channel Di high-speed pulse counter, 1-channel encoder to Modbus TCP wired wireless module ibf161
猜你喜欢

魏建军骑宝马也追不上李书福
![[wechat applet development (VII)] subscription message](/img/aa/f0c68bc0c068ac208820df42cce3db.png)
[wechat applet development (VII)] subscription message

食品安全 | 这两类瓜果宜改善便秘 孕妇人群尤其建议

How to quickly access the unified authentication system

I came across Digital Phoenix coordinate Xuhui Meiluo city in Shanghai

Installation points and precautions of split angle probe

Thermistor PT100, NTC to 0-10v/4-20ma converter

MicTR01 Tester 开发套件(振弦采集读数仪)使用说明

Pyqt5 rapid development and practice 5.1 tables and trees

Remote serial port server (adapter) UART to 1-wire application
随机推荐
魏建军骑宝马也追不上李书福
Laser rangefinder non-contact surface crack monitor
2.855 billion yuan! Qingdao Xinen completed the capital increase: Xingcheng Jidian became the largest shareholder, holding 57.10%
Fifth uncle's thinking
Image semantic segmentation practice: tensorflow deeplobv3+ train your own dataset
MLX90640 红外热成像仪测温传感器模块开发笔记(八)
Redis系列4:高可用之Sentinel(哨兵模式)
Rust Getting Started Guide (crite Management)
便携式钻孔测斜仪数据采集仪测量原理与测斜探头的连接及使用方法
光学雨量计对比翻斗式雨量计的优势
[wechat applet development (VII)] subscription message
正大杯黑客马拉松数据解析竞赛
带你来浅聊一下!单商户功能模块汇总
Numpy ndarray learning < I > Foundation
IFD-x 微型红外成像仪(模块)的温度测量和成像精度
Installation points and precautions of split angle probe
两种特殊函数(箭头函数和方法)
Mlx90640 infrared thermal imager temperature sensor module development notes (VIII)
NTC, PT100 thermal resistance to 4-20mA temperature signal converter
2021 Yahong pen test question 2