Search:

Type: Posts; User: mDennis10

Search: Search took 0.10 seconds.

  1. Replies
    33
    Views
    3,816

    Re: Small problem, help please?

    the con variable should look something like this


    Connection con = DriverManager.getConnection ("jdbc:mysql://localhost/database name","user name for database","password");
  2. Replies
    33
    Views
    3,816

    Re: Small problem, help please?

    your problems is that u need to create a object to connect to the data base. it should look something like this


    Connection conn = DriverManager.getConnection ("jdbc:mysql://where database...
Results 1 to 2 of 2