盘古云 SequoiaDB数据库MySQL实例应用开发
启动/开机启动 PostgreSQL:
systemctl start postgresql.servicesystemctl enable postgresql.service
切换到postgres用户,然后登录(初始无密码):
sudo -i -u postgrespsql
要退出psql或返回原用户,都是用exit
命令。PostgreSQL的用户跟系统用户有些关联,前者必须也是后者。在初始化过程中会在系统中创建postgres用户,同时也是数据库的超级权限用户,postgres用户可以创建其他