Looks like it's ignoring hostname options and always using localhost.
Logs:
2019-08-03 13:55:07.474 T:3553620704 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'pymysql.err.OperationalError'>
Error Contents: (1045, u"Access denied for user '<REMOVED_DATABASE_USER>'@'<REMOVED_LOCALHOSTNAME>' (using password: YES)")
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/plugin.py", line 350, in <module>
plugRoutine(sys.argv)
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/plugin.py", line 34, in __init__
self.router(args[2][1:])
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/plugin.py", line 41, in router
vw.cATEgory(self.params['directory'])
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/plugin.py", line 159, in cATEgory
self.folder = self.DbEE.initDb(category)
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/lib/iteration.py", line 233, in initDb
self.sql.setControl()
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/lib/querylib.py", line 85, in setControl
self.mySql()
File "/home/osmc/.kodi/addons/plugin.video.specialfeatures/lib/querylib.py", line 56, in mySql
self.conI = connect(host=ipadd, port=ipport, user=user, password=pword, charset=charSet, cursorclass=cuType)
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/__init__.py", line 90, in Connect
return Connection(*args, **kwargs)
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/connections.py", line 699, in __init__
self.connect()
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/connections.py", line 936, in connect
self._request_authentication()
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/connections.py", line 1156, in _request_authentication
auth_packet = self._read_packet()
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/connections.py", line 1018, in _read_packet
packet.check_error()
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/connections.py", line 384, in check_error
err.raise_mysql_exception(self._data)
File "/home/osmc/.kodi/addons/script.module.pymysql/lib/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
OperationalError: (1045, u"Access denied for user '<REMOVED_DATABASE_USER>'@'<REMOVED_LOCALHOSTNAME>' (using password: YES)")
-->End of Python script error report<--
Looks like it's ignoring hostname options and always using localhost.
Logs:
/home/osmc/.kodi/userdata/addon_data/plugin.video.specialfeatures/settings.xml
:I would expect it to be looking at REMOVED_DB_HOSTNAME and not REMOVED_LOCALHOSTNAME