Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
2013-09-27, 16:48
(This post was last modified: 2013-09-27, 16:48 by mbu10.)
well updated to the newest version,
and had some problems to start with.
but sorted the back end sql and created the db and scanned the tv movies and music in
verified that these have been done all good
tv and movies show the correct information
but the music still only show "files or add ons"
does not show genes singer etc etc
any idea
thanks
martin
Posts: 418
Joined: Oct 2010
Reputation:
13
2013-09-27, 21:34
(This post was last modified: 2013-09-27, 21:34 by nokdim.)
get rid of the <name>xbmc_video</name> tag and <name>xbmc_music</name> tag and try again.
This is legacy config and no longer needed.
You dont need to create the DB it will create a DB for you.
Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
ok so what is the format for giving details for the mysql db then?
if i remove that it, how does it create them on the mysql
funny though it creates the db video and music
just with the music db there is errors
thanks
martin
Posts: 418
Joined: Oct 2010
Reputation:
13
when you do:
GRANT ALL ON *.* TO 'xbmc'; it allows the user xbmc to create db's.
you can lock it down after db's are created and do:
GRANT ALL ON `MyMusic%`.* TO 'xbmc'@'%' IDENTIFIED BY 'xbmc';
GRANT ALL ON `MyVideos%`.* TO 'xbmc'@'%' IDENTIFIED BY 'xbmc';
Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
2013-09-27, 21:59
(This post was last modified: 2013-09-27, 22:00 by mbu10.)
evening
yes the user xmbc has full access it has no problems creating db,tables etc
but the question i had is from this part
" <advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.2.194</host>
<port>3306</port>
<user>USER</user>
<pass>PASSWORD</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.2.194</host>
<port>3306</port>
<user>USER</user>
<pass>PASSWORD</pass>
<name>xbmc_music</name>
</musicdatabase>
<videolibrary>
<recentlyaddeditems>50</recentlyaddeditems>
</videolibrary>
</advancedsettings>"
what should it actually look like as all the docs i have reads say this needs to be in
is this how it is meant to look
"<type>mysql</type>
<host>192.168.2.194</host>
<port>3306</port>
<user>USER</user>
<pass>PASSWORD</pass>"
thanks
martin
Posts: 31,445
Joined: Jan 2011
Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
ok figured it out was running sql 5.6
go figure
Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
2013-09-28, 13:18
(This post was last modified: 2013-09-28, 13:20 by mbu10.)
well tbh
i think there is a problem with 5.6, removed it and ran it against 5.1 and ran through fine and created the db perfectly
with everything showing up fine
thanks
Posts: 43
Joined: Apr 2012
Reputation:
0
mbu10
Junior Member
Posts: 43
just checked against a 5.5 and working fine as well, looks like something not compatible with 5.6
Posts: 30
Joined: Aug 2012
Reputation:
2
2013-09-28, 17:24
(This post was last modified: 2013-09-28, 19:26 by forkless.)
I couldn't get the db create going on 5.1.36 either with prior SQLite database files present. I'm not really convinced it's a 5.6 problem. The SQL queries done should be pretty vanilla.
I have exported the DB structures for Frodo 12.2 on MySQL 5.1.36 that work fine on 5.6 as well, so this may lead me to think that there may be something wrong with the DB abstraction layer (if that's used) or the scripts/error trapping within creating the tables. Eg. Frodo MySQL DB init scripts are b0rked under certain circumstances.
EDIT: I've been doing some more testing on a sandbox. One of the potential problems is the common cache plugin (available in the addon repo) if there are already existing SQLite databases.