** Description changed:

  I was using OpenOffice 1.9.129 on Ubuntu 5.10 with the included JDBC
  driver com.mysql.jdbc.Driver to connect mysql-server 4.0.24 either on
- localhost or on other servers without any problem.
+ localhost and on other servers without any problem.
  
  After upgrading to Ubuntu 6.06, and installing mysql-
  server-5.0.21-3ubuntu1 from server distribution, I tried to do the same.
  OpenOffice 2.0.2 Base crashed while loading the driver. Then based on
  suggestion, I downloaded JDBC driver mysql-connector-java-3.1.13-bin-jar
  and included in the classpath, as I was told that Ubuntu 6.06 does not
  ship with java driver. This loaded the driver successfully.
  
- But when I clicked on the Tables to get list of my Tables, did not
+ But when I clicked on the Tables to get list of my Tables, it did not
  display the list of tables and gave following error (phase5_local is the
  name of database on localhost with utf-8 encoding): -
  
  The connection to the data source "phase5_local" could not be
  established.
  
  Error during query: Unexpected Exception:
  java.io.CharCenversionException message given: null
  
  Nested Stack Trace:
  
  ** BEGIN NESTED EXCEPTION **
  
  java.io.CharConversionException
  
  STACKTRACE:
  
  java.io.CharConversionException
     at gnu.gcj.convert.input_iconv.read(libgcj.so.7)
     at java.lang.String.init(libgcj.so.7)
     at java.lang.String.<init>(libgcj.so.7)
     at
  
com.mysql.jdbc.SingleByteCharsetConverter.<init>(SingleByteCharsetConverter.java:153)
     at
  
com.mysql.jdbc.SingleByteCharsetConverter.initCharset(SingleByteCharsetConverter.java:108)
     at
  
com.mysql.jdbc.SingleByteCharsetConverter.getinstance(SingleByteCharsetConverter.java:86)
     at com.mysql.jdbc.StringUtils.getBytes(StringUtils.java:600)
     at
  com.mysql.jdbc.ByteArrayBuffer.writeStringNoNull(ByteArrayBuffer.java:544)
     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1660)
     at
  com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:2998)
     at
  com.mysql.jdbc.Connection.configureClientCharacterset(Connection.java:2343)
     at
  com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:3723)
     at
  com.mysql.jdbc.Connection.createNewIO(Connection.java:2583)
     at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
     at
  com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
  
  ** END NESTED EXCEPTION **
  
  I tried to change utf-8 encoding to system, but the result was same.

-- 
OpenOffice 2.0.2 base crashes while trying to load JDBC driver
https://launchpad.net/bugs/50063

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to