Jump to content

Setting MySQL system variables?


random1

Recommended Posts

Hi All,

 

I'm trying to get MySQL all using utf8 only.

 

Screen:

 

screenhm4.th.jpg

 

How can I set the system variables to stay persistant?

 

I have tried "character_set_server = utf8" in the my.conf file with no affect.

 

I have tried "SET session character_set_server = 'UTF8'" in an SQL query with no affect.

 

Thanks in advance.

Link to comment
Share on other sites

I tried setting it up in my.conf:

 

1screenyl3.th.jpg

 

Still no affect, not even temporary.

 

I tried it in SQL as well:

 

SET character_set_server = 'utf8'

#SHOW VARIABLES

 

This works for the current session but once mysql is restarted it changes back.

 

Any persistant way of doing this?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.