Official Fog Creek Notice: MS Access support is being deprecated in FogBugz 8.0.
How do you convert an MS Access database to another format?
|
1
|
Official Fog Creek Notice: MS Access support is being deprecated in FogBugz 8.0. How do you convert an MS Access database to another format? |
|||
|
closed as no longer relevant by Rich Armstrong♦♦ Oct 31 at 14:12 |
|
2
|
Many people end up with strange FogBugz problems after attempting to transfer to another format because of schema issues. If this happens to you, contact us.
For instructions on migrating your data from MS Access to SQL Server click here. For migrating from MS Access to MySQL, read on.
|
|||
|
|
1
|
Addendum to step 5: To deselect Strict mode: Open your "my.ini" file within the MySQL installation directory, and look for the text "sql-mode".
Replace with:
|
||
|
|
|
1
|
No matter what utility you use, if you have odd behavior afterward, contact us. This is an ongoing answer that will evolve as I discover wrinkles and strategies around them. Here's my current strategy:
Heres the script:
|
||||||
|
|
1
|
I am in the process of importing our Access database into MySQL, and have run into a few more quirks than the posts above mentioned. Hopefully this information will help other database newbies like me who are in the same boat. I am migrating to MySQL Ver 14.14 Distrib 5.5.16, for Win64 (x86) and used Bullzip 3.0.0.148 to convert the database. Here is how I fixed the problems which Rich Armstrong identified in his answer.
In the converted file, dtOpened is defined as:
I simply removed the default, since none of the other DATETIME fields had one:
In addition, I got the following error on a large number of table column definitions:
I fixed it by searching for LONGTEXT, LONGBLOB and removed the default value, just like above.
In the converted file they were incorrectly formatted as:
I changed them to be formatted as below:
using the regex (exact syntax will vary from application to application):
There were also some other fields that are also declared LONGBLOB with the same quoting problem:
The regex above fixed them as well. If you have large BLOB fields (such as file attachments > 1MB), then you will need to increase the mysql maximum_packet_size to import them: http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html Finally when importing it is best to output the results to a log file, as errors can easily scroll off the screen. In windows this can be done using:
Then review that log file. If there are any errors fix the problem, drop the temporary database that was just created (movedb in my case), and then rerun the script. Most of the importing problems I encountered would not have been discovered until much later had I not done this, as everything appeared to be working on the surface. |
|||
|
|