Solved Kodi & Mysql - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Solved Kodi & Mysql (/showthread.php?tid=342249) |
Kodi & Mysql - yoda2018 - 2019-03-20 hi all ive managed to install mysql 5.6 on my server. im having some trouble getting kodi to actually create and populate its database. i used the GRANT ALL ON *.* TO '*****'; when i was setting up my mysql user the mysql user can create and access databases so i'm relay confused here is my AS.xml Code: <advancedsettings> ive striped out my internal ip and username and pass for security hence 192.0.0.0 and ******* when i do SHOW DATABASES in my sql i get this Code: mysql> SHOW DATABASES; RE: Kodi & Mysql - Klojum - 2019-03-20 If you want more info, enable debugging in the Kodi GUI, and also activate the Database component for additional SQL debugging. Then restart Kodi, and provide us the debug log (wiki) via a pastebin website near you, and paste the URL to it here on the forum. PS: Because showing an internal/local IP address is massively insecure..? RE: Kodi & Mysql - yoda2018 - 2019-03-20 (2019-03-20, 21:00)Klojum Wrote: If you want more info, enable debugging in the Kodi GUI, and also activate the Database component for additional SQL debugging.ill get on it just out of curiosity where will the logs be stored on Ubuntu as its the only system i can mess with as my other device is been used and yea i know it was tonight scrub ips out of posts lmao RE: Kodi & Mysql - yoda2018 - 2019-03-20 here is the log file https://pastebin.com/raw/jKeHJm8A i had a hard time getting it all into paste bin if you need more of the log ill find a way of splitting it and uploading to pastebin i checked the location of my advanced settings xml i ran the ls command but i dont know why its quoted my advancedsettings.xml tho Code: yoda@yoda:~/.kodi/userdata$ ls Kodi & Mysql - Klojum - 2019-03-21 The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time. Kodi & Mysql - yoda2018 - 2019-03-21 i removed them but they keep showing up in my log should i uninstall and reinstall kodi? RE: Kodi & Mysql - Klojum - 2019-03-21 Some of the less legal add-ons are quite a PITA to remove. I'd simply start fully fresh, because who knows which part(s) of your Kodi setup have been compromised. Rename your .kodi folder and have Kodi create a new setup. You can copy all necessary config files to the new setup. Also, store your advancedsettings.xml file without the space in the filename. RE: Kodi & Mysql - yoda2018 - 2019-03-21 (2019-03-21, 00:40)Klojum Wrote: The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.ive done a fresh install of kodi and im grabbing the log for the fresh install Kodi & Mysql - yoda2018 - 2019-03-21 just noticed that space before .xml on here ill check the file as well RE: Kodi & Mysql - yoda2018 - 2019-03-21 As requested ive taken steps to purge my system of **Banned Addons** the steps ive taken to resolve the issue are as follows i did a sudo apt-get purge kodi Code: yoda@yoda:~$ sudo apt-get purge kodi followed by manualy deleting the .kodi folder with my system now clean ill re-install kodi again Code: yoda@yoda:~$ sudo apt-get install kodi here is the log file https://pastebin.com/raw/KBecPZw1 it seems that there was an extra space in the advancedsettings.xml file that was throwing things out of whack top job for noticing it. just to clear things up all i have to do is put the as.xml file on the other device and i wont need to re-scan my library as ive already done it successfully on the mysql server RE: Kodi & Mysql - Klojum - 2019-03-21 (2019-03-20, 20:52)yoda2018 Wrote: when i do SHOW DATABASES in my sql i get thisIt seems like both kodi video and music databases were not created. Perhaps you still have a database user rights problem for the user you created? Double-check that, and don't forget to do "flush privileges" afterwards. RE: Kodi & Mysql - yoda2018 - 2019-03-21 (2019-03-21, 08:31)Klojum Wrote:Hi Klojum ive nailed it, my problem seemed to be an incorrect filename.(2019-03-20, 20:52)yoda2018 Wrote: when i do SHOW DATABASES in my sql i get thisIt seems like both kodi video and music databases were not created. Perhaps you still have a database user rights problem for the user you created? Code: advancedsettings .xml amazing how a typo can completely gum up the works, cant believe it was right under my nose the entire time. kodi now connects up to the mysql DB and has created the databases and it successfully populated them. once again i would like to thank you all for taking the time to help me figure this out. Kodi & Mysql - Klojum - 2019-03-21 Thread marked solved. |