Dear Sir/Madam,
I am a programmer in sharjah,uae.
Now i am working in postgresql.
I cannot able to connect to postgresql.I am pasting my code here.
Class.forName("org.postgresql.Driver");
Connection conn=DriverManager.getConnection("jdbc:postgresql://127.0.0.1/*
postgres*", "*postgres*", "sadeen");
here sadeen is my password.
But i don't know what to give where i underlined.
I am working as postgres# prompt in database.
I have created database with -- create database mydatabase;
how to use that database as use mydatabase in mysql.
Looking forward to hear from you,
Yours truly,
George