Thread: questions

questions

From
"cby_y"
Date:
    Hi,I have two question in the postsql when it ues in Lunix.
    When I use the Server.java ,it always return this error for me:
        java.sql.SQLException: Driver not found for URL:               jdbc:postgresql://localhost:5432/something
    How to reinstall JDBC driver ,and solve this problem?


    And I want to delete the old  postsql ,install a new one
    How to backup the postsql data

    Thanks
                                  Sing


-------------------------------------------------------------------------------------
嘉年华挑战快乐极限,你敢玩吗? http://smspop.163.com/personal/wang/17/index.htm

Re: questions

From
Kris Jurka
Date:

On Mon, 26 Jul 2004, [gb2312] cby_y wrote:

>     When I use the Server.java ,it always return this error for me:
>         java.sql.SQLException: Driver not found for URL:
> jdbc:postgresql://localhost:5432/something
>     How to reinstall JDBC driver ,and solve this problem?

You've mentioned a Server.java file, but not provided it, so I can only
guess what is going wrong.  Perhaps you've forgotten to do a
Class.forName("org.postgresql.Driver"); ?

>     And I want to delete the old  postsql ,install a new one
>     How to backup the postsql data
>

See pg_dump or pg_dumpall.

Kris Jurka