Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

dump sql file to database postgres

# First create DATABASE
sudo su postgres
# enter password
createdb testdb
psql db_name < dump.sql
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dump #sql #file #database #postgres
ADD COMMENT
Topic
Name
7+5 =