2019-05-03, 00:38
Hi guys,
I do apologise if this has been covered before. I've spent several days trawling forums/guides/tutorials & I just can't find anything that covers what I need. Any help or advice would be very much appreciated .
First up, I've NEVER used MySQL or anything like it before, so please be gentle lol . Don't go too mad with the whole tech aspect of it up front . I'm reasonably tech savvy but I'm certainly not an expert or advanced!!
Right now, I have 2 x Synology DS418 NAS boxes on my home network but that will hopefully be increased to 3 x DS418's over the coming days as well. (It's my understanding that I'd need to use MariaDB as the MySQL server on one of my Syno NAS's that would become the actual MySQL server, I've got that far). Additionally, I use the DSM Web UI to manage all aspects of the NAS's themselves, (no SSH/terminal based access etc.). Because I don't use SSH etc., PHPMyAdmin is going to be my best option there too rather than messing around (or messing up) with command lines.
All of my NAS boxes are on the same LAN/IP range. All of the devices that will be accessing the MySQL server once up & running will also be on the same LAN IP range only as well. Every NAS or device on the LAN has a static IP as well. If it affects MySQL config/access too, the firewalls on the NAS's are also enabled/configured to only allow LAN access.
Obviously, I have several individual devices that are all running the same base version of Kodi (18). They've all been individually configured to have the same libraries from the sources/shares on my NAS boxes. However, it just isn't an option to keep each individual library updated to include the "my ratings" of my movie/TV show collection, or marking media as watched, tracking progress, etc., etc. manually.
As such.... I'd like to attempt setting up a centralised MySQL system. I need the central system to keep track of "my ratings" across all client devices, (ratings that I give to movies in Kodi), marking media as watched across all devices, & tracking progress of any given movie or TV episode.
I've been reading/viewing several different online guides/tutorials for setting up MySQL, but they're all essentially guides for setting up MySQL with a single NAS!!! What I can't find is any info for setting up MySQL if multiple NAS's are in use.
How would that work please? How do I configure MySQL if I have media stored in several different directories across all three NAS boxes?
Presumably I still just use a single NAS as the actual MySQL server? But, how do I then set things up so that the DB/library includes all of the media from all of the sources/shares across all three NAS boxes please? (I need the central DB to basically include all of the media from all of my sources as it presently does from each individual Kodi device please.)
For example, do I need to add the IP's of each source NAS to the advancedsettings.xml files? Or, will everything be done automatically when I carry out the first set up from Kodi, & the source NAS's will be added to the sources.xnl file too please?
I might have stood a chance of successfully setting up MySQL by myself if I was simply following a step by step tutorial & just using a single NAS lol . However, having multiple NAS's in use obviously complicates things.
Many thanks in advance for any help & info .
Yours confusedly & kind regards ,
Wolfy.
I do apologise if this has been covered before. I've spent several days trawling forums/guides/tutorials & I just can't find anything that covers what I need. Any help or advice would be very much appreciated .
First up, I've NEVER used MySQL or anything like it before, so please be gentle lol . Don't go too mad with the whole tech aspect of it up front . I'm reasonably tech savvy but I'm certainly not an expert or advanced!!
Right now, I have 2 x Synology DS418 NAS boxes on my home network but that will hopefully be increased to 3 x DS418's over the coming days as well. (It's my understanding that I'd need to use MariaDB as the MySQL server on one of my Syno NAS's that would become the actual MySQL server, I've got that far). Additionally, I use the DSM Web UI to manage all aspects of the NAS's themselves, (no SSH/terminal based access etc.). Because I don't use SSH etc., PHPMyAdmin is going to be my best option there too rather than messing around (or messing up) with command lines.
All of my NAS boxes are on the same LAN/IP range. All of the devices that will be accessing the MySQL server once up & running will also be on the same LAN IP range only as well. Every NAS or device on the LAN has a static IP as well. If it affects MySQL config/access too, the firewalls on the NAS's are also enabled/configured to only allow LAN access.
Obviously, I have several individual devices that are all running the same base version of Kodi (18). They've all been individually configured to have the same libraries from the sources/shares on my NAS boxes. However, it just isn't an option to keep each individual library updated to include the "my ratings" of my movie/TV show collection, or marking media as watched, tracking progress, etc., etc. manually.
As such.... I'd like to attempt setting up a centralised MySQL system. I need the central system to keep track of "my ratings" across all client devices, (ratings that I give to movies in Kodi), marking media as watched across all devices, & tracking progress of any given movie or TV episode.
I've been reading/viewing several different online guides/tutorials for setting up MySQL, but they're all essentially guides for setting up MySQL with a single NAS!!! What I can't find is any info for setting up MySQL if multiple NAS's are in use.
How would that work please? How do I configure MySQL if I have media stored in several different directories across all three NAS boxes?
Presumably I still just use a single NAS as the actual MySQL server? But, how do I then set things up so that the DB/library includes all of the media from all of the sources/shares across all three NAS boxes please? (I need the central DB to basically include all of the media from all of my sources as it presently does from each individual Kodi device please.)
For example, do I need to add the IP's of each source NAS to the advancedsettings.xml files? Or, will everything be done automatically when I carry out the first set up from Kodi, & the source NAS's will be added to the sources.xnl file too please?
I might have stood a chance of successfully setting up MySQL by myself if I was simply following a step by step tutorial & just using a single NAS lol . However, having multiple NAS's in use obviously complicates things.
Many thanks in advance for any help & info .
Yours confusedly & kind regards ,
Wolfy.