Posts: 10
Joined: Nov 2021
Reputation:
0
Hello there,
I know this is not the way to go, but i need help with something that you seem to have done already so im reaching out to you from here.
I have Kodi 19.3 running, i have an sql database from the nas (synology, created with MariaDB10 and myphpadmin) but in Kodi it doesnt show the shows/films. I can see the database is created, i can see it connects and updates but the shows and films section is empty. I have this both on my pc and tv.
May i ask how did you set this up and is there something you know i might be missing in the setup?
Thanks,
Theceed
Posts: 10
Joined: Nov 2021
Reputation:
0
Thanks, i just created a thread because i was thinking to do it the correct way, this is the question in that new post:
Dear all,
I am having some issues with Kodi 19.3 in combination with an SQL database, ill firstly describe what i have done and then ill describe the result/the issue.
I have a Synology NAS, with all my movies and tv shows on them. Been using this through NFS without issues, however since we have 3 places in the house we can watch i wanted to go to 1 central database. I created a setup using the following:
- MariaDB10
- PHPMyadmin
I have created both the advancedxml and the sources document and it seems like everything is working as it should. When i look in PHPmyadmin i can see that the video database is build (also there is a music database, but that one is empty for now) and in Kodi on my PC it shows the locations and it starts updating whenever i open Kodi. The only thing is...it is NOT showing the tv shows or movies in the sections in Kodi. I have looked at almost everything (i used a youtube tutoral to set it all up and followed it to the letter) but i just dont know what i can do with this. Kodi sees the locations, the database is created, Kodi updates the database on startup but it wont show any of the shows, its literally an empty field. It does not show the message that there is no location linked, it just shows an empty screen.
I am at a loss here, and i hope someone has the solution for me. I know my way around a pc and NAS, but im not a genius with it so i tried to keep it simple with 1 database for 3 devices. however now im making a local database again for the tv's since i cant watch anything with Kodi not showing the information in the databases...
Thanks to all who can help or all who will take the time to read this.
As you can see, i did everything i need to do, but i cant get it to work. What do you want to see from me, i will try to get it out of kodi (im not that experienced with debugging but saw there was a page that shows how to do it so ill try)
Thanks for your help!
Posts: 945
Joined: Oct 2011
Reputation:
64
gibxxi
Posting Freak
Posts: 945
...Just to clarify for anyone else not familiar with the way Kodi sets up MySQL / MariaDB databases;
With each 'Major Version' update, Kodi creates *new* databases, and migrates the data across from the old ones to the new ones, leaving the old ones intact in case you should need to "roll back" to the earlier Kodi version. For this reason just setting all access rights on the databases Kodi is currently using isn't enough. It needs sufficient enough rights to create the new databases and migrate that data. So it needs GLOBAL (admin-level) access rights to the SQL server as a whole to facilitate this as global rights superceed database specific access rights. Limiting the allowed IPs as suggested above will limit the scope of devices able to use those priviledges, in case your running web-based apps that also access that SQL server, but that something for a different thread / topic.
Dan / Gib.