Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7071 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi.

Now it looks like i have the correct driver, but i get this error when i try to access the database. " [973] Invalid Database "

Below some of my code is posted, so please help if someone have any idea.

Class.forName("com.fmi.jdbc.JdbcDriver");

Connection con = DriverManager.getConnection("jdbc:fmpro://localhost:2399;serverDataSource=model");

Statement stmt = con.createStatement();

  • 2 weeks later...
Posted

It seems that joki1975 is using FileMaker 6.

If so, the line getting connection should be like this.

Connection con = DriverManager.getConnection("jdbc:fmpro:http://localhost", "", "YOUR_PASSWORD");

JDBC for FM6 (or 5.x) is totaly different from JDBC for FM7.

Be sure to use jdbc driver for FM6 (name of the file is 'fmpjdbc12.jar').

It's in the product CD (FileMaker Developer version only).

This topic is 7071 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.