Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

Error creating musicdb (MySql)

$
0
0
I'm trying to set up an OpenELEC with a central mysql database. Works without problems for video, but the music database is not fully applied.

the settings in advancedsettings.xml:
Code:
<videodatabase>
    <type>mysql</type>
    <host>192.168.11.101</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    <name>xbmc_video</name>
  </videodatabase>
  <musicdatabase>
    <type>mysql</type>
    <host>192.168.11.101</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    <name>xbmc_music</name>
  </musicdatabase>

When creating the database music32 an error occurs when creating a index:
Code:
10:03:50 T:139787178456896   DEBUG: Mysql execute: CREATE INDEX idxAlbum ON album(strAlbum)
10:03:50 T:139787178456896   ERROR: SQL: Undefined MySQL error: Code (1071)
                                            Query: CREATE INDEX idxAlbum ON album(strAlbum)
10:03:50 T:139787178456896   ERROR: CreateTables unable to create tables:0

when manually running "CREATE INDEX ON idxAlbum album (strAlbum)" I get an error:
Code:
SQL Error (1071): Specified key was too long, max key length is 767 bytes

by the error the database is not fully applied. for example, the view "song view" does not exist. therefore the music database does not work.
Code:
10:03:50 T: 139787178456896 ERROR: SQL: The table does not exist
                                             Query: select count (idSong) as NumSongs song from view
10:03:50 T: 139787178456896 ERROR: GetSongsCount

full log:
http://pastebin.com/wc1mhgyc

any ideas or advices?

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>