Thank you. Is their any documentation for this?
I am attempting to connect to a mariadb using python. using the following instructions..
https://mariadb.com/resources/blog/how- ... ms-mariadb
This was previously set up and working using Mysql and MySQLdb connector.. I don't see in the above instructions where to set the host (IP address of mariadb server).
I've installed the files you suggested, when I run the python script I receive the following error.
Code: Select all
File "/usr/lib/python2.7/dist-packages/mysql/connector/__init__.py", line 155, in connect
return MySQLConnection(*args, **kwargs)
TypeError: __init__() takes exactly 1 argument (5 given)