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
- SQL Scheduler and Reporting Tool
- 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
- Sitemap
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (169314 views)
- Error no. 2003: Can't connect... (86269 views)
- SQLyog Version History (63952 views)
- Error no. 1045: "Connection denied..." (61346 views)
- Error no. 1251: "Client does not support authentication..." (58317 views)
- Error No. 2005: Unknown MySQL server host... (50192 views)
- What is HTTP-tunneling? (42282 views)
- What Is SSH and SSH-tunneling? (38071 views)
- Can I use SQLyog with the WINE Windows emulator ... (34943 views)
- Why are Stored Procedures not created when I import ... (34267 views)
Latest FAQs 
- SQLyog Version History (2012-01-26 08:20)
- SQLyog is a client for the MySQL server - ... (2011-11-04 04:48)
- I get error 1130 "Host is not allowed to ... (2011-11-01 05:21)
- Problems on Ubuntu 11.x (2011-10-29 13:02)
- Problems creating a functional DSN on 64 bit Windows. ... (2011-09-15 14:34)
Sticky FAQs
Managing your MySQL Database Systems » Data Types and Storage Engines
Does SQLyog support spatial datatypes?
Well .. both yes and no!
'spatial' (or 'geometrical'/'geodetical'/'geographical') datatypes are special datatypes used in conjunction with specific types of programs like GIS ('Geograhical Information Systems') and CAD ('Computer Aided Design') etc. programs. These datatypes describe in a single row/column combination properties of a geometrical object (a point, a line, a polygon etc.). MySQL support such datatypes for use with the above-mentioned program types. But the implementation of those datatypes differ from all other datatypes in the respects that:
* special SQL syntax is required to handle them client side. There is a binary and a text-type syntax availble. The binary syntax will normally be used internally by GIS, CAD etc. programs for use with the drawing/graphics routines of such programs. The text-type syntax is mainly intended for human access to such data. However both client implementations differ from how such data are handled internally by the server, what also means that plain SELECTs, INSERTs will fail (it may insert garbage or return a (client-side or server-side) error).
* there is no direct mapping possible for the implementation of such datatypes in MySQL to variable types in common programming languages.
In SQLyog we do not currently support those datatypes from the CREATE/ALTER TABLE dialogues. We also do not support the special SQL syntax required for manipulating those datatypes using INSERTs/UPDATEs from the DATA and RESULT tabs (and they even do not diplay here in a human readable form).
But this does not mean that you are not able to use SQLyog with tables containing such data. What is possible is
* You can do *anything* supported by the server from the SQLyog editor: Valid statements containing CREATE/ALTER TABLE and INSERT/UPDATE statements will execute successfully also with 'spatial' data.
* You can edit all non-spatial columns in the table from both the SQLyog DATA and RESULT tabs also if one or more 'spatial' colums are displayed in the actual view as long as you do nothing with such datatypes themselves. If you do an error dialogue will display informing you that this cannot be done 'GUI-wise'.
(Also note that before version 8.13 it was only possible to edit tables with spatial data from RESULT tab - not DATA tab) and only if no spatial columns were displayed)
Tags: -
Related entries:
- Do I need PHP to use SQLyog with MySQL?
- SQLyog gives you the most options for connecting to MySQL
- Welcome to the SQLyog FAQ
- Installation and upgrading
- Buying and Licensing SQLyog
Last update: 2009-08-03 05:24
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ