Please take special note of :ref:`old-passwords-label` if you have connection
277
issues from :program:`drizzledump` to your MySQL server.
278
279
If you find your VARCHAR and TEXT data does not look correct in a drizzledump
280
output, it is likely that you have UTF8 data stored in a non-UTF8 table. In
281
which case please check the :option:`--my-data-is-mangled` option.
280
.. note::
281
282
Please take special note of :ref:`old-passwords-label` if you have connection
283
issues from :program:`drizzledump` to your MySQL server.
284
285
.. note::
286
If you find your VARCHAR and TEXT data does not look correct in a drizzledump
287
output, it is likely that you have UTF8 data stored in a non-UTF8 table. In
288
which case please check the :option:`--my-data-is-mangled` option.
282
289
283
290
When you migrate from MySQL to Drizzle, the following conversions are required:
284
291
294
301
* tinyblob -> blob
295
302
* mediumblob -> blob
296
303
* longblob -> blob
297
* time -> int (of seconds)
298
304
* year -> int
299
305
* set -> text
300
306
* date/datetime default 0000-00-00 -> default NULL (Currently, ALL date columns have their DEFAULT set to NULL on migration)
301
307
* date/datetime NOT NULL columns -> NULL
302
308
* any date data containing 0000-00-00 -> NULL
303
* TIME -> INT of the number of seconds*
309
* time -> int of the number of seconds [1]_
304
310
* enum-> DEFAULT NULL
305
311
306
* This prevents data loss since MySQL's TIME data type has a range of -838:59:59 - 838:59:59, and Drizzle's TIME type has a range of 00:00:00 - 23:59:61.999999.
312
.. rubric:: Footnotes
313
314
.. [1] This prevents data loss since MySQL's TIME data type has a range of
315
-838:59:59 - 838:59:59, and Drizzle's TIME type has a range of