home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
OffTopic
Sharing MySQL with XBMC
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="doveman" data-source="post: 970163" data-attributes="member: 67412"><p>I'm using Comodo Firewall and I have it set to Allow All on LAN so that should allow access to MySQL from both the local machine and the RPi. As scanning doesn't work anymore even from XBMC running on my PC, you may be right that I've got the advancedsettings.xml wrong (I'm pretty sure it's in the right place though, as otherwise it wouldn't have changed anything and stopped scanning from working by using the normal XBMC database). This is what I've used.</p><p> </p><p>[code] <advancedsettings></p><p> <videodatabase></p><p> <type>mysql</type></p><p> <host>192.168.1.64</host></p><p> <port>3306</port></p><p> <user>xbmc</user></p><p> <pass>xbmc</pass></p><p> <name>xbmc_video</name></p><p> </videodatabase></p><p> <musicdatabase></p><p> <type>mysql</type></p><p> <host>192.168.1.64</host></p><p> <port>3306</port></p><p> <user>xbmc</user></p><p> <pass>xbmc</pass></p><p> <name>xbmc_music</name></p><p> </musicdatabase></p><p></advancedsettings>[/code]</p><p> </p><p>However, Comodo shows me the listening connections and I don't see Mysql in the list at all so that doesn't seem right.[DOUBLEPOST=1361884134][/DOUBLEPOST]</p><p> </p><p>I'm not sure as normally I don't login to it, that's all taken care of automatically by MP I guess. However, as per the guide I've done:</p><p> </p><p>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';</p><p>CREATE database xbmc_video;</p><p>CREATE database xbmc_music;</p><p>GRANT ALL ON *.* TO 'xbmc';</p><p> </p><p>and doing </p><p>SELECT host,user from mysql.user;</p><p>SHOW DATABASES;</p><p> </p><p>returns</p><p> </p><p>[code]+-----------+------+</p><p>| host | user |</p><p>+-----------+------+</p><p>| % | root |</p><p>| % | xbmc |</p><p>| 127.0.0.1 | root |</p><p>| localhost | |</p><p>| localhost | root |</p><p>+-----------+------+</p><p>5 rows in set (0.01 sec)</p><p></p><p>+--------------------+</p><p>| Database |</p><p>+--------------------+</p><p>| information_schema |</p><p>| argustv |</p><p>| mptvdb |</p><p>| mysql |</p><p>| test |</p><p>| xbmc_music |</p><p>| xbmc_video |</p><p>+--------------------+</p><p>7 rows in set (0.02 sec)[/code]</p><p>I note that the guide refers to setting the password when installing MySQL though. As there's already a password of MediaPortal set (I have to use this when opening the commandline tool), perhaps I need to specify this in my xml instead of xbmc. The guide suggests the CREATE USER creates the user/password but perhaps that's wrong and it just creates the user.</p></blockquote><p></p>
[QUOTE="doveman, post: 970163, member: 67412"] I'm using Comodo Firewall and I have it set to Allow All on LAN so that should allow access to MySQL from both the local machine and the RPi. As scanning doesn't work anymore even from XBMC running on my PC, you may be right that I've got the advancedsettings.xml wrong (I'm pretty sure it's in the right place though, as otherwise it wouldn't have changed anything and stopped scanning from working by using the normal XBMC database). This is what I've used. [code] <advancedsettings> <videodatabase> <type>mysql</type> <host>192.168.1.64</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> <name>xbmc_video</name> </videodatabase> <musicdatabase> <type>mysql</type> <host>192.168.1.64</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> <name>xbmc_music</name> </musicdatabase> </advancedsettings>[/code] However, Comodo shows me the listening connections and I don't see Mysql in the list at all so that doesn't seem right.[DOUBLEPOST=1361884134][/DOUBLEPOST] I'm not sure as normally I don't login to it, that's all taken care of automatically by MP I guess. However, as per the guide I've done: CREATE USER 'xbmc' IDENTIFIED BY 'xbmc'; CREATE database xbmc_video; CREATE database xbmc_music; GRANT ALL ON *.* TO 'xbmc'; and doing SELECT host,user from mysql.user; SHOW DATABASES; returns [code]+-----------+------+ | host | user | +-----------+------+ | % | root | | % | xbmc | | 127.0.0.1 | root | | localhost | | | localhost | root | +-----------+------+ 5 rows in set (0.01 sec) +--------------------+ | Database | +--------------------+ | information_schema | | argustv | | mptvdb | | mysql | | test | | xbmc_music | | xbmc_video | +--------------------+ 7 rows in set (0.02 sec)[/code] I note that the guide refers to setting the password when installing MySQL though. As there's already a password of MediaPortal set (I have to use this when opening the commandline tool), perhaps I need to specify this in my xml instead of xbmc. The guide suggests the CREATE USER creates the user/password but perhaps that's wrong and it just creates the user. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
OffTopic
Sharing MySQL with XBMC
Contact us
RSS
Top
Bottom