Has anyone tried to connect or access remotely via python running on raspberry pi the database (mariadb) from hostinger?
I get these error message:
Error connecting to MariaDB Platform: Access denied for user 'marvin'@'2001:4451:4184:d200:e695:4b72:e0ea:6501' (using password: YES)
Traceback (most recent call last):
File "/home/ryan/code/modbustemp/purbar.py", line 12, in <module>
conn = mariadb.connect(
^^^^^^^^^^^^^^^^
File "/home/ryan/jarvis/lib/python3.11/site-packages/mariadb/__init__.py", line 146, in connect
connection = connectionclass(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ryan/jarvis/lib/python3.11/site-packages/mariadb/connections.py", line 85, in __init__
super().__init__(*args, **kwargs)
mariadb.OperationalError: Access denied for user 'marvin'@'2001:4451:4184:d200:e695:4b72:e0ea:6501' (using password: YES)[/quote]
What could be causing the error?
I get these error message:
Error connecting to MariaDB Platform: Access denied for user 'marvin'@'2001:4451:4184:d200:e695:4b72:e0ea:6501' (using password: YES)
Traceback (most recent call last):
File "/home/ryan/code/modbustemp/purbar.py", line 12, in <module>
conn = mariadb.connect(
^^^^^^^^^^^^^^^^
File "/home/ryan/jarvis/lib/python3.11/site-packages/mariadb/__init__.py", line 146, in connect
connection = connectionclass(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ryan/jarvis/lib/python3.11/site-packages/mariadb/connections.py", line 85, in __init__
super().__init__(*args, **kwargs)
mariadb.OperationalError: Access denied for user 'marvin'@'2001:4451:4184:d200:e695:4b72:e0ea:6501' (using password: YES)[/quote]
What could be causing the error?
Statistics: Posted by marvinryan — Tue Jan 14, 2025 3:02 pm