Re: postgres create database command does not create database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-09-18 0:05 GMT+02:00 Thomas <tszhu2003@xxxxxxxx>:
I'm new to postgresSQL and try to create database. I connected as postgres
user/role, I ran create database test1 without any error message, but don't
see test1 database being created. Can someone help to shed some light on
why? Thanks.


Did you put a ";" at the end of your SQL statement?

such as:
CREATE DATABASE foo ;


--

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux