更新 psql基本配置.md
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
## 真正的角色用户进入psql的方式如下
|
||||
`psql -U myuser -d mydb -h localhost`
|
||||
|
||||
# 进入数据库后修改超级账号的密码
|
||||
## 进入数据库后修改超级账号的密码
|
||||
`ALTER USER postgres WITH PASSWORD '123456';`
|
||||
|
||||
# 通过数据库命令创建第一个数据库
|
||||
## 通过数据库命令创建第一个数据库
|
||||
`CREATE DATABASE face_db;`
|
||||
|
||||
|
Reference in New Issue
Block a user