0% found this document useful (0 votes)
83 views

MySQL Version

The document describes a MySQL error message indicating an unknown character set index received from the server. It provides details of the error occurring in a Talend job accessing a MySQL database via JDBC. The solution recommends configuring the MySQL configuration file to explicitly set the character-set-server and collation-server parameters to utf8 to resolve the character set mismatch.

Uploaded by

warsana
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views

MySQL Version

The document describes a MySQL error message indicating an unknown character set index received from the server. It provides details of the error occurring in a Talend job accessing a MySQL database via JDBC. The solution recommends configuring the MySQL configuration file to explicitly set the character-set-server and collation-server parameters to utf8 to resolve the character set mismatch.

Uploaded by

warsana
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

MySQL Version: 5.0.27 W2K SP4 Talend Error: Starting job tDBInput at 19:36 22/03/2007.

Running process with context: Default Exception in component tDBInput_1 java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client character set can be forced via the 'characterEncoding' property. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910) at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:2345) at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:3913) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2683) at com.mysql.jdbc.Connection.<init>(Connection.java:1531) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at talenddemosjava.tdbinput.tDBInput.tDBInput_1Process(tDBInput.java:146) at talenddemosjava.tdbinput.tDBInput.main(tDBInput.java:326) Job tDBInput ended at 19:36 22/03/2007. [exit code=0]

Solution: In your my.cnf (nix) or my.ini (win) in the section [mysqld] modify the following encoding parameters: ### old: # character-set-server = latin1 # collation-server = latin1_general_ci ### new character-set-server = utf8 collation-server = utf8_bin

You might also like