init
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.idea
|
||||||
|
.vscode
|
||||||
8
MySQL/common.sql
Normal file
8
MySQL/common.sql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# InnoDB引擎页大小
|
||||||
|
show global status like 'Innodb_page_size';
|
||||||
|
|
||||||
|
# 查询用户
|
||||||
|
select * from mysql.user;
|
||||||
|
|
||||||
|
# 查询表的创建语句
|
||||||
|
SHOW CREATE TABLE sku.person;
|
||||||
4
PostgreSQL/common.sql
Normal file
4
PostgreSQL/common.sql
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-- 修改用户的密码
|
||||||
|
alter user postgres with password 'PostgreSQL20868354';
|
||||||
|
-- 查询所有用户
|
||||||
|
select * from pg_catalog.pg_user;
|
||||||
Reference in New Issue
Block a user