![]() Registered Member ![]()
|
Ok, what i am trying to do is take my sqlite database for Amarok and put it into mysql. I have got a backup and everything from my sqlite database and when i go to import it through phpmyadmin it returns the error: Column 'deviceid' cannot be null
i looked into my backup of sql lite and what it does it has an table with all your drives in it and gives it a number. then when it stores each music file it associates it with the correct drive number. what it looks like it did was set the 'deviceid' to NULL if amarok can no longer find the file in the path associated to the file and my question is, is there anyway to have that field except NULL?? in the sqlite file this query is ran to create the 'statistics' table where the error first occurs:
now in phpmyadmin, when i do an import this is the line it stops at (the null is in bold):
like i said is there anyway around this without having to pick through every little bit of text and manually edit it? has almost 6,000 songs so it could take a while (take it easy on my taste of music ![]() |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]