Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

52.3. 创建数据库

		
createdb -h 127.0.0.1 -U postgres -E UTF8 -O postgres nano-api		
		
		

docker 环境演示

		
[root@netkilller ~]# docker exec -it postgres bash
root@f402670ad8c3:/# createdb -h 127.0.0.1 -U postgres -E UTF8 -O postgres netkiller
root@f402670ad8c3:/# exit
exit
[root@netkilller ~]#