2022-06-09, 04:42
I have currently my database separate on my Android TV and Windows PC. In time past, I tried having a central Kodi DB in MySQL on my My Cloud Ultra Ex2. Results worked but were too slow so I moved back to separate databases.
Now I am trying again with a new Qnap TS-233 and MariaDB. I've been all over the Internet and have not really found a definitive setup. I've pieced together the following.
Installed MariaDB app and phpMyadmin. MariaDB enabled TCP/IP connection on port 3307.
Edited phpMyadmin's config file (added three lines) in order to resolve errors where I could not connect to MariaDB.
Created kodi user in MariaDB user account.
Edited my.cnf file in MariaDB with vim editor and added #bind-address = 0.0.0.0 to allow for Remote Client Access. #skip-networking already set in file.
Firewall. I understand Qnap does NOT have any firewall turned on by default. I have it now installed, but not configured to simply setup for now. I shut unit down each time I finish attempting solution. So I do not think I have any firewall settings to configure at this point.
Created advancedsettings.xml and place in proper Kodi folder on Windows PC. Backed up kodi setup.
I launch Kodi and I can tell it is trying to process request. But it hangs. I check MariaDB for new databases and none are created. I verified I can login into database with kodi account via phpMyadmin.
I am really not sure where to go from here in trouble-shooting the issue. Certainly this has been more challenging that MySQL. But I read MariaDB would be faster.
Any help would be appreciated. Once I get this working, it is my desire to create a thread documenting the whole process to help others. I found the two links below the most helpful at this point.
https://forum.kodi.tv/showthread.php?tid=354738
https://community.synology.com/enu/forum/1/post/134323
Now I am trying again with a new Qnap TS-233 and MariaDB. I've been all over the Internet and have not really found a definitive setup. I've pieced together the following.
Installed MariaDB app and phpMyadmin. MariaDB enabled TCP/IP connection on port 3307.
Edited phpMyadmin's config file (added three lines) in order to resolve errors where I could not connect to MariaDB.
Created kodi user in MariaDB user account.
Edited my.cnf file in MariaDB with vim editor and added #bind-address = 0.0.0.0 to allow for Remote Client Access. #skip-networking already set in file.
Firewall. I understand Qnap does NOT have any firewall turned on by default. I have it now installed, but not configured to simply setup for now. I shut unit down each time I finish attempting solution. So I do not think I have any firewall settings to configure at this point.
Created advancedsettings.xml and place in proper Kodi folder on Windows PC. Backed up kodi setup.
I launch Kodi and I can tell it is trying to process request. But it hangs. I check MariaDB for new databases and none are created. I verified I can login into database with kodi account via phpMyadmin.
I am really not sure where to go from here in trouble-shooting the issue. Certainly this has been more challenging that MySQL. But I read MariaDB would be faster.
Any help would be appreciated. Once I get this working, it is my desire to create a thread documenting the whole process to help others. I found the two links below the most helpful at this point.
https://forum.kodi.tv/showthread.php?tid=354738
https://community.synology.com/enu/forum/1/post/134323