Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
pmargari
Advocate II
Advocate II

Mysql native query getting special characters in column names

Hello
We have setup a new Mysql server , we have checked all the settings and made equal to an existing one.

When we make a native mysql query now we get special characters in the column names , the bellow image show as we see the column names in the mysql and how we see after we run the native query with a simple select ...... 


Any clue what could be the issue ?

pmargari_0-1712415143750.png

Thanks 
Paulo

4 REPLIES 4
v-kaiyue-msft
Community Support
Community Support

Hi @pmargari ,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

looks like somewhere you are missing the UTF-8 (65001) setting

Thanks for your repply.
The new server is azure flexible server MySQL and I can't see any settings that relates to UTF-8 
What we have and as  in the previous server is :
show variables like "character_set_database"  = latin1 

this only happen with the column headers not the data in the tables 
Headers :

pmargari_0-1712565712130.png

 

Row Data :

pmargari_1-1712565764189.png

 


Thanks 

latin1 is your problem. Change to utf-8.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.