OpenOffice 3 BASE

Discuss the database features
Post Reply
travismc1
Posts: 2
Joined: Tue Oct 07, 2008 4:45 pm

OpenOffice 3 BASE

Post by travismc1 »

The last two downloads of OOo 3 have given me problems connecting to my MySQL database.

Error1 The connection to the data source "officeDB" could not be established.

Error2 Error code: 1000

The driver class 'com.mysql.jdbc.Driver' could not be loaded.

Error3 Error code: -1

com/mysql/jdbc/Driver

I created this BASE file with version 2.2. I have upgraded at each interval and have had luck with most of the development builds for Version 3. However, 3 release candidate 3 and 3rc4 have given me these errors. The file opens but when I click on a form, I'm asked for my username and password. I type it in, the errors come out. I reinstalled 2.4 back to my machine and I can log in and edit just fine. I have gone into the Tools> Options> OpenOffice.org> Java and made certain that Jave was "seen" by the system. Any thoughts would be helpful.

My machine:
WindowsXP sp3
3.0ghz Pentium D
1gb of ram
MySQL 5.0.45 Locally on my "D" drive
JDBC DRIVER - mysql-connector-java-5.1.6-bin
OOo 3.0.X on Ms Windows XP + linuxmint 5
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: OpenOffice 3 BASE

Post by r4zoli »

Added JDBC driver to classpath under Tools>Options>OpenOffice.org>Java?
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
travismc1
Posts: 2
Joined: Tue Oct 07, 2008 4:45 pm

Re: OpenOffice 3 BASE

Post by travismc1 »

Yes, my JDBC driver is in the C:\program files\Java.

I went back to Tools>Options>OpenOffice.org>Java
I clicked on Class Path which was showing : C:\program files\Java
This time I decided to click on the ADD ARCHIVE button: this took me to Java file and I saw the JDBC driver as a choice to be clicked on...

Now my database is letting me input data through my form. BUT, my database had a report that in the previous versions was a "phone book." Very little information is shown. I thought it was lost. I went back to the tables and my information is there. The query that I pull the report from is there. It just does not bring the information to the report.

Since this is not the final version, should I leave my reports alone and see if this is fixed?
Has anyone else reported this type of problem?

By the way, thank you, r4zoli!
OOo 3.0.X on Ms Windows XP + linuxmint 5
cogre
Posts: 2
Joined: Tue Nov 18, 2008 4:04 pm

Re: OpenOffice 3 BASE

Post by cogre »

Hi,

just want to inform, that i have the same problem than you (error 2) and that i did not find any solution up until now. If anybody has an answer i would be very interested in getting it too.

Regards
Corinne
OOo 3.0.X on Ms Windows XP
vlmp
Posts: 2
Joined: Fri Nov 28, 2008 8:19 pm

Re: OpenOffice 3 BASE

Post by vlmp »

Same problem here. I upgraded to OO 3 and lost the connection to my networked mysql server. Reset the java class path and still no go.

Jim
Dyrcona
Posts: 2
Joined: Sat Nov 01, 2008 2:51 pm

Re: OpenOffice 3 BASE

Post by Dyrcona »

I have the full path to the jar file in my Classpath in OO.o and don't have a problem. Have you included the jar file in th classpath?
OOo 3.0.X on Mac OSx Leopard + Windows, Linux, FreeBSD
cogre
Posts: 2
Joined: Tue Nov 18, 2008 4:04 pm

Re: OpenOffice 3 BASE

Post by cogre »

Hi,
Some more information:

I am using following JRE and Classpath:

JRE: Sun Microsystem 1.6.0-02
Classpath: mysql-connector-java-3.1.12-bin.jar

This was working under Openoffice 2.x

Since i ve changed to Openoffice 3.0: it does not work anymore...
is anyone using some other versions of JRE/Classpath and having no problem?

Corinne
OOo 3.0.X on Ms Windows XP
vlmp
Posts: 2
Joined: Fri Nov 28, 2008 8:19 pm

Re: OpenOffice 3 BASE

Post by vlmp »

I found a fix for my situation: more updates were needed

I updated my computers Java and set OOBase to JRE 1.6.0_10
and the class path is now updated to mysql-connector-java-5.1.6-bin.jar

That seemed to do the trick.
OOo 3.0.X on Ms Windows XP
randomname
Posts: 1
Joined: Mon Dec 15, 2008 3:23 am

Re: OpenOffice 3 BASE

Post by randomname »

Using JRE 1.6.0_07, updating the classpath and restarting did not work until I realized the "quick start" in the system tray kept it alive.

Killed it and it worked upon restart.
OOo 3.0.X on Ms Windows XP
Post Reply