Please note: If this FAQ s empty you must choose English language from the drop-down-box below. Only English content is available as of now!
Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- Notification Services
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
11 Users online :: 11 Guests and 0 Registered
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (115374 views)
- Error no. 2003: Can't connect... (52092 views)
- Error no. 1251: "Client does not support authentication..." (48093 views)
- Error no. 1045: "Connection denied..." (41335 views)
- SQLyog Version History (39948 views)
- What is HTTP-tunneling? (29287 views)
- Error No. 2005: Unknown MySQL server host... (28355 views)
- What Is SSH and SSH-tunneling? (25494 views)
- Why are Stored Procedures not created when I import ... (23457 views)
- Do I need PHP to use SQLyog with MySQL? ... (21518 views)
Latest FAQs 
- SQLyog Version History (2010-03-09 03:20)
- SQLyog is a client for the MySQL server - ... (2009-09-11 07:48)
- Can I use SQLyog with the various SQL-modes available ... (2009-08-20 08:02)
- Failed dependency for libstdc++.so.5 error (2009-08-13 11:22)
- Wrong results are returned for FOUND_ROWS(). (2009-08-12 06:31)
Using the GUI
ID #1130
Do I need to SET NAMES to display characters of my language?
No, you won't. SQLyog does all what is required!
With the introduction of SQLyog version 6 SQLyog always uses UTF8 internally. Whenever SQLyog communicates with Windows strings are transformed to (or from) the native Windows (UTF16) Unicode implementation and whenever connecting to the MySQL server SQLyog issues "SET NAMES utf8" statement. That is all what is required. No matter with what character set data are stored on the server, the server itself will transform between the character set used for storing of data and the unicode/utf8 character set used by SQLyog on the client side.
Actually you SHOULD NEVER issue any SET NAMES statement from the SQLyog GUI yourself. You may experience the SQL statements sent by SQLyog will be 'garbled' and will not be understood by the server. Imagine "SELECT" becoming "#¤@£€%+" in your statements...
Also you may damage your data. That would in particular happen with accented (non-English/non-ASCII) latin characters. Those characters are encoded differently in utf8 and in non-unicode character sets. If SQLyog sends utf8-data but the server 'thinks' it is something else, those characters will garble.
And again: how data are stored on the server does not matter. The communication between MySQL and SQLyog (including SJA) ensures that both the 'server side' and 'client side' use of character sets is correct. It is totally 'automatic'. And do not interfere in that!
However if you execute a SQL-script from a file you may include a SET NAMES statement in that file. You will need to do if character data in the file are not encoded with the server default charset. When SQLyog executes an external file, a separate connection is created for that and SET NAMES in that file will not affect the connection that the GUI uses. SQL scripts generated by SQLyog are UTF8-encoded and the file contains a "SET NAMES utf8" statement. But if the script is generated with another program it is not necessarily the case.
The above applies to MySQL from version 4.1. Before that MySQL does not support SET NAMES. With MySQL 3.23 and 4.0 SQLyog will simply receive a 'binary copy' of what is stored on the server. The computer must be using a LOCALE setting matching the stream of data.
Tags: -
Related entries:
- Do I need PHP to use SQLyog with MySQL?
- Installation and upgrading
- SQLyog Version History
- Error messages
- Plans for future versions of SQLyog
Last update: 2007-06-21 08:57
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ