
postgresql
只爱写代码
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu下安装psycopg2报错
错误信息如下:Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executa...原创 2020-03-14 19:49:02 · 1401 阅读 · 1 评论 -
docker中使用postgresql
拉取postgersql镜像sudo docker pull postgres启动postgresql容器sudo docker run --name crpsql -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres进入容器sudo docker exec -it crpsql bash...原创 2020-03-13 18:54:20 · 886 阅读 · 0 评论 -
Postgresql基本操作
一、创建用户# 切换到postgres用户sudo su - postgres# 创建用户create user test with password '123456';二、创建数据库create database testdb owner test;参考链接原创 2020-02-07 22:10:32 · 256 阅读 · 0 评论