Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6023723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:02:52+00:00 2026-05-23T04:02:52+00:00

I am executing this query insert into tbl (name) values(‘Î’); When I execute this

  • 0

I am executing this query

insert into tbl (name) values('Î');

When I execute this query from my application with jdbc then I get following error

Incorrect string value: '\xEF'

If I execute same query with Sql Manager for MySql then it executes successfully

my jdbc connection string is like this

jdbc:mysql://localhost:3306/mydb?useUnicode=yes&characterEncoding=UTF-8

any idea where am I wrong ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:02:53+00:00Added an answer on May 23, 2026 at 4:02 am

    your mysql instance might not be configured to accept your character set. Im not an expert but i saw this in the mysql documentation

    ALTER TABLE myTable MODIFY myColumn VARCHAR(255) CHARACTER SET utf8;
    

    found here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this query works fine using the php_mssql driver: INSERT INTO Table(columnName) VALUES ('text'); SELECT
I'm executing a query like this select field from table; In that query, there
I ran this query on my SQL Server database: begin transaction; insert into [db].[a].[Table1]
I want to execute a query of the form: INSERT INTO table(field1, field2) SELECT
I'm trying to execute the following CFML: <cfquery name=koppelData datasource=#request.DataSource#> INSERT INTO t_user_profile (Username,
I'm executing an Insert statement from c# with values extracted from TextBox Controls in
Greetings, I'm having the following issue: When I attempt to execute several INSERT INTO
In my application I'm using ADODB to query a MySQL database. This goes very
I have this query in my sql if (select count(*) from sys.columns where object_id
I am executing a following query: SELECT DISTINCT users.user_id, users.email, users.irc_nickname FROM users, user_group_map,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.