PostgreSQL学习第六篇--psql经常使用链接数据库的方法

psql -h <hostname or ip> -p <port> [dbname] [username] -h 指定要链接数据库所在的主机名或者IP地址 -p 指定链接的数据库端口,最后两个参数是数据库名和用户名。 示例: [postgres@single ~]$ psql -h 186.168.100.13 -p 5432 testdb postgres psql: could not co
相关文章
相关标签/搜索