当前位置:网站首页>First knowledge of database
First knowledge of database
2022-07-03 20:04:00 【FYHLH】
MySQL It's the best RDBMS(Relational Database Management System, Relational database management system )
Simple database commands :
mysql -u user name -p password : Login data ,
select version(); View the database version number
show databases : View all local databases ;
user Database name : Switch database ;
show tables; View all the table names under the database ;
exit : sign out ;
create user ' user name '@'host' identified by ' password '; Create user
grant all Database name .* to ' user name '@'localhost' : to grant authorization
Authorization can be selected select insert update drop create;
grant all on *.* to user name @localhost
revoke all on *.* user name @localhost;
drop user user name @'localhost';: Delete user ;
show databases: Check the existing database .
show create database Database name : Look at a database
show create database Database name : View a database character set
create database if not exists Database name ; Create a nonexistent database ;
create database if not exists Database name alter character set code Create a nonexistent database And specify the code
alter database Database name character set utf8; Modify database code
drop database Database name : Delete database
create table Table name () : Create table
drop table Delete table
insert int Table name values( data , data ,...): Add data
update from Table name set Modifying data where Where data needs to be modified ;
delete form Table name where Where the data to be deleted ;
select xxx : Write what you check
边栏推荐
- Use of aggregate functions
- Chapter 1: King Shehan miscalculated
- Day10 -- forced login, token refresh and JWT disable
- Sword finger offer 30 Stack containing min function
- 2022-06-30 网工进阶(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】
- 2022-06-25 网工进阶(十一)IS-IS-三大表(邻居表、路由表、链路状态数据库表)、LSP、CSNP、PSNP、LSP的同步过程
- Micro service knowledge sorting - cache technology
- Micro service knowledge sorting - three pieces of micro Service Technology
- Nacos usage of micro services
- Point cloud data denoising
猜你喜欢

Detailed and not wordy. Share the win10 tutorial of computer reinstallation system

Chapter 1: find all factorial sums, Grand Prix site unified programming, three factorial sums, graphic point scanning, recursive factorial n of n!, Find the factorial n of n!, King Shehan miscalculate

Chapter 2: find the box array, complete number in the specified interval, and improve the complete number in the specified interval

2.3 other data types

Chapter 1: drinking soft drinks, step tariff calculation, step tariff calculation function, personal income tax, solving square root inequality, simplifying solving square root inequality, solving dem

44. Concurrent programming theory

2022-07-02 网工进阶(十五)路由策略-Route-Policy特性、策略路由(Policy-Based Routing)、MQC(模块化QoS命令行)

Chapter 20: y= sin (x) /x, rambling coordinate system calculation, y= sin (x) /x with profile graphics, Olympic rings, ball rolling and bouncing, water display, rectangular optimization cutting, R que

IPv6 experiment

Leetcode 1189. Maximum number of balloons (special character count)
随机推荐
Day10 -- forced login, token refresh and JWT disable
Typora charges, WTF? Still need support
4. Data splitting of Flink real-time project
Chapter 2: find the number of daffodils based on decomposition, find the number of daffodils based on combination, find the conformal number in [x, y], explore the n-bit conformal number, recursively
Chapitre 1: le roi de shehan a mal calculé
BOC protected amino acid porphyrins TAPP ala BOC, TAPP Phe BOC, TAPP Trp BOC, Zn · TAPP ala BOC, Zn · TAPP Phe BOC, Zn · TAPP Trp BOC Qiyue
Bool blind note - score query
Basic command of IP address configuration ---ip V4
FPGA 学习笔记:Vivado 2019.1 工程创建
BOC protected alanine porphyrin compound TAPP ala BOC BOC BOC protected phenylalanine porphyrin compound TAPP Phe BOC Qi Yue supply
Difference between surface go1 and surface GO2 (non professional comparison)
2022-06-28 网工进阶(十三)IS-IS-路由过滤、路由汇总、认证、影响ISIS邻居关系建立的因素、其他命令和特性
About callback function and hook function
Machine learning support vector machine SVM
Chapter 1: seek common? Decimal and S (D, n)
Microsoft: the 12th generation core processor needs to be upgraded to win11 to give full play to its maximum performance
Meso tetra [P - (p-n-carbazole benzylidene imino)] phenylporphyrin (tcipp) /eu (tcipp) [pc( α- 2-oc8h17) 4] and euh (tcipp) [pc (a-2-oc8h17) 4] supplied by Qiyue
Make a simple text logo with DW
Global and Chinese market of two in one notebook computers 2022-2028: Research Report on technology, participants, trends, market size and share
Use unique_ PTR forward declaration? [repetition] - forward declaration with unique_ ptr? [duplicate]