We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
时间:2016-11-10 14:22:03 地址:#49
由于接收同事的项目,项目中使用 PostgreSql, 记录下 常用的一些命令
psql -h 127.0.0.1 -p 54323 -U userName -d DbName
在 psql 中,切换数据库
\c dbname username serverIP port
mysql: show databases psql: \l或\list
mysql: use dbname psql: \c dbname
mysql: show tables psql: \d
mysql: show columns from table name psql: \d tablename
mysql: describe tablename psql: \d+ tablename
mysql: quit 或者\q psql:\q
The text was updated successfully, but these errors were encountered:
No branches or pull requests
时间:2016-11-10 14:22:03
地址:#49
背景
由于接收同事的项目,项目中使用 PostgreSql, 记录下 常用的一些命令
使用
在 psql 中,切换数据库
mysql: show columns from table name psql: \d tablename
mysql: describe tablename psql: \d+ tablename
The text was updated successfully, but these errors were encountered: