Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

url for the postgresql database.

// Specify URL for the PostgreSQL database:
// jdbc:postgresql://<hostname>:<port>/<databasename>
String url = "jdbc:postgresql://localhost:5432/test"

// Specify URL for the MySQL database:
// jdbc:mysql://<hostname>:<port>/<databasename>
String url = "jdbc:mysql://localhost:3306/dinosaurs"
 
PREVIOUS NEXT
Tagged: #url #postgresql
ADD COMMENT
Topic
Name
6+2 =