2015-12-28, 12:03
Hi,
I'm expecting some trouble with my configuration of a centralised mysql database on my NAS SYNOLOGY.
I followed the wiki but kodi can't connect to mysql server :
I tried to modify my.cnf :
my kodi advanced settings :
my grants for user kodi :
Port 3306 is open in my router.
By the way it doesnt work with local IP either.
I searched an tried many fix but without success.
I would be very greatful if someone have an idea
Thanks
PS : Excuse my bad English
I'm expecting some trouble with my configuration of a centralised mysql database on my NAS SYNOLOGY.
I followed the wiki but kodi can't connect to mysql server :
Quote:10:50:38 T:3732 ERROR: Unable to open database: MyMusic18 [2003](Can't connect to MySQL server on '62.XX.XX.XX' (10060))
10:50:59 T:3732 ERROR: Unable to open database: MyMusic52 [2003](Can't connect to MySQL server on '62.XX.XX.XX' (10060))
10:50:59 T:3732 ERROR: Unable to create new database
I tried to modify my.cnf :
Quote:bind-adress = 0.0.0.0
my kodi advanced settings :
Quote:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>62.XX.XX.XX</host> //it's my public address i would like to access not just in local
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>62.XX.XX.XX</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>
my grants for user kodi :
Quote:| Grants for kodi@% |
+--------------------------------------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'kodi'@'%' IDENTIFIED BY PASSWORD '*2249595D6A53B38A77AA4AB2091D9B1A71F88735' WITH GRANT OPTION |
| GRANT ALL PRIVILEGES ON `MyVideos%`.* TO 'kodi'@'%' WITH GRANT OPTION |
| GRANT ALL PRIVILEGES ON `MyMusic%`.* TO 'kodi'@'%' WITH GRANT OPTION |
| GRANT ALL PRIVILEGES ON `%`.* TO 'kodi'@'%' WITH GRANT OPTION
Port 3306 is open in my router.
By the way it doesnt work with local IP either.
I searched an tried many fix but without success.
I would be very greatful if someone have an idea
Thanks
PS : Excuse my bad English