Convert XBMC Database Schema 4.0a in sqlite to mysql -


i use database schema of xbmc webapplication. can see schema here : http://wiki.xbmc.org/index.php?title=database_schema_4.0/a

in server, have mysql database, test convert sqlite mysql firefox plugin : https://addons.mozilla.org/en-us/firefox/addon/sqlite-manager/

i add first table (2.1 table: profile) no problem. add seconde table (2.2 table: collection) have syntax error foreign.

[ near "foreign": syntax error ]exception name: ns_error_failureexception message: component returned failure code: 0x80004005 (ns_error_failure) [mozistorageconnection.createstatement] 

i don't know syntax foreign key. can me?

it looks there problem schema generated via firefox plugin. try using sqlite professional export sqlite database mysql. open database in sqlite professional, , choose data -> export -> mysql. create script can run on mysql database populate it.

here promo code free copy of sqlite professional: y6e3m4h34apr


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -