Menu

convert MsAccess to mySql

Help
Marco fre
2015-01-12
2015-01-13
  • Marco fre

    Marco fre - 2015-01-12

    I am using jackcess to convert an access database to a mysql one.
    I am able to read the Db and extract the name of the tables and the rows of each of them, but I don't know how to create, in the easy wa,y the tables in mysql mapping the ones in access (type of the fields, primary keys, constraints etc.)
    Can someone help me? Thanks

     
  • James Ahlborn

    James Ahlborn - 2015-01-13

    Hopefully the utility code in Jackcess which does the reverse operation can give you some ideas how to do the conversion: http://jackcess.sourceforge.net/xref/com/healthmarketscience/jackcess/util/ImportUtil.html#83 . Also, note that the Column's DataType has a "sql type" value which is the appropriate JDBC data type (along with the length, scale, and precision attributes).

     

Log in to post a comment.