java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client c haracter set can be forced via the 'characterEncoding' property.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via AppFuse JIRA by Sebastian Lenk, 1 year ago
Unknown initial character set index '48' received from server. Initial client c haracter set can be forced via the 'characterEncoding' property.
via AppFuse JIRA by Sebastian Lenk, 1 year ago
Unknow n initial character set index '48' received from server. Initial client characte r set can be forced via the 'characterEncoding' property.>java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client c haracter set can be forced via the 'characterEncoding' property.
via mysql.com by Unknown author, 1 year ago
Unknown initial character set index '192' received from server. Initial client character set can be forced via the 'characterEncoding' property.
via Coderanch by Migrated From Jforum.net, 1 year ago
Unknown initial character set index '192' received from server. Initial client character set can be forced via the 'characterEncoding' property.
via GitHub by Taebu
, 9 months ago
Can not issue data manipulation statements with executeQuery().
via Stack Overflow by CoDerus
, 2 years ago
Parameter index out of range (1 > number of parameters, which is 0).
java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client c haracter 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.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:28)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:180)
at org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:112)
at org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:139)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

Users with the same issue

Once, 11 hours ago
5 times, 23 hours ago
Once, 4 days ago
4 times, 6 days ago
77 times, 1 week ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.