当前位置:网站首页>Basic operations of MySQL database (I) --- Based on Database
Basic operations of MySQL database (I) --- Based on Database
2022-07-28 00:43:00 【*Black heart radish three bars*】
1. Create database
create database + Database name ;
for example : I need to create test1 database , The specific operation and results are shown in the figure below

2. Display database
(1) Show all databases
show databases;for example : I need to display all databases , The specific operation and display results are as follows

( Be careful :information_schema、mysql、performanse_schema、sys These three libraries come with the system ,test1、db1 These two libraries are the ones I created .)
(2) Display the specified database
show create database + Library name ;for example : Show specific test1 library , The specific operation and results are as follows

3. Select database
use + Library name ;for example : The library I need to select is test1, Then the specific operation and results are as follows

4. Delete database
drop database + Library name ;for example : The database I need to delete is db1, Then the actual operation and results are as follows

5. Change database name
alter database + name + Options ;// Because this command can only be used on the old version , So I won't show it here 边栏推荐
- Analysis and solution of errors in symbols uploading when baget manages packages
- Matlab | those matlab tips you have to know (I)
- Threejs personal notes
- 这种动态规划你见过吗——状态机动态规划之股票问题(中)
- 小程序助力智能家居生态平台
- require、loadfile、dofile、load、loadstring
- 【读书会第13期】音视频文件的封装格式
- OpenVINO整合TensorFlow实现推理加速
- What foundation does Yolo need? How to learn Yolo?
- LeetCode_位运算_中等_137.只出现一次的数字 II
猜你喜欢

FFT 采样频率和采样点数的选取

Is there a general formula for tens of millions of players? B station is underestimated as a hot money opportunity!

公司7月来了个软件测试工程师,一副毛头小子的样儿,哪想到是新一代卷王...

Buildforge materials

The influence of head zeroing and tail zeroing on FFT output

In the third week of July, the list of feigua data station B up main ranking list was released!

map集合

Selection of FFT sampling frequency and sampling points

BuildForge 资料

require、loadfile、dofile、load、loadstring
随机推荐
Is it amazing to extract text from pictures? Try three steps to realize OCR!
Matlab | those matlab tips you have to know (4)
What are the namespaces and function overloads of + and @ in front of MATLAB folder
Matlab | matlab terrain generation: rectangular iteration method, inverse Fourier transform method, fractal Berlin noise method
英特尔携手汉朔、微软,释放“AI + 零售”大招!
Strong collaboration and common development! Intel and Taiyi IOT held a seminar on AI computing box aggregation services
Fastjson历史漏洞复现
[book club issue 13] packaging format of audio and video files
Selection of FFT sampling frequency and sampling points
Matlab | those matlab tips you have to know (I)
Camera and lidar calibration: gazebo simulation livox_ camera_ lidar_ Calibration ---- external parameter calibration calculation and result verification
[must read for new products] valuation analysis of Meishi technology, distributed audio-visual products and Solutions
Applet helps smart home ecological platform
In the third week of July, the list of feigua data station B up main ranking list was released!
MATLAB | 那些你不得不知道的MATLAB小技巧(一)
相应通道无电压但ADC的值却在大幅变化且不等于0的可能原因
require、loadfile、dofile、load、loadstring
强强协同,共拓发展!英特尔与太一物联举办 AI 计算盒聚合服务研讨会
大众中国豪掷80亿,成国轩高科第一大股东
Network equipment hard core technology insider firewall and security gateway (12) the mystery of zero contact office