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

  • SEARCH
  • Home
  • 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 8721401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:12:57+00:00 2026-06-13T07:12:57+00:00

(Edit 2: Information has come in, thankfully. It’s only accessed via ODBC, where I

  • 0

(Edit 2: Information has come in, thankfully. It’s only accessed via ODBC, where I can set connection charset to match anything I set for the MySQL database. So this whole question is reduced to: If I set connection charset of both ODBC and database to UTF-8, am I done and it will not corrupt the data? (server/database charset is latin1). I will happily accept a simple yes or no with a short explanation why.

————— the rest is original background information, not really relevant anymore.————–

(Edit: to clarify: the data is already imported correctly, this is ONLY a question about connection charset.)

I’m trying to make a decision whether to change the connection character set to that of collation and server for my newly created MySQL database.

The server and collation charsets for it are set to the same as that of the old server running MySQL 4.1 – latin1. Some data is already imported with mysql.exe and is verified as correct.

The connection character set was not changed from the default UTF-8 when the server admin installed MySQL 5.5 and created the new database at one point in time.

The old server reported no variables set for collation or connection character set, so my questions are: (I’ve assumed the current setting, UTF-8, should be the most correct route)

  • where to look for what to set it to (hints from experience)
  • if I choose to set it to latin1, if scripts writing to the database somewhere could corrupt the data again
  • or if it can be switched on and off at will without ever corrupting the data, i.e. if I can postpone the decision.

The database server admin doesn’t have the information to give me an answer, and with the information missing from the old database, I would like to make sure but can’t.

It’s a 1GB .sql file which has required gradual editing in TextPad to import, so it would save time to know if this is a critical setting.

My best plan at the moment is to not change the setting, import the data, and backup – and if a script corrupts data due to incorrectly set connection charset, the backup is restored. Do you see problems with this plan?

  • 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-06-13T07:12:58+00:00Added an answer on June 13, 2026 at 7:12 am

    When migrating data,

    1. set destination data charset+collation to the same as for the ancient MySQL database version. You may have to change Type= to Engine=, timestamp(xx) to timestamp, and some float(xx,xx) to double in the huge sqldump with f.ex. TextEdit before importing it with mysql.exe

    2. Find out what, if any, connections will write to the tables and if their source charset differs from that of the database. If so, modify the datasource’s connection properties so that the connection converts the source data to the database charset.

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

Sidebar

Related Questions

EDIT: I have realized the source of my problem. I only have count information
EDIT : It turned out that this can only be done through an external
I am trying to create a page where users can edit information. I can
I have an asp.net view which has two partial views. One for edit information
I am using a popup window to display some information and have an edit
Where can I find information on the differences between calling on a column within
EDIT : For anyone who might come across this post with a similar problem,
Read the edit below for more information. I have some code below that I
Edit: After receiving more information from DCoder, the phrase I was searching for here
EDIT 07/14 As Bill Burgess mentionned in a comment of his answer, this question

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.