I have a MySQLdb running on my Ubuntu Laptop. I have created a database.
I need to access this database on my laptop from my Raspberry pi.
I have installed PyMySQL on my raspberry pi. I have also configured the mysqld.conf file in my laptop and commented out the bind address line.
But eherytime i use the following command on my RPi
Code: Select all
conn = pymysql.connect(host='192.168.10.7', port='3306', user='root', passwd='password', db='temps')but i get error
Code: Select all
[code]pymysql.err.InternalError: (1130, "Host '192.168.10.7' is not allowed to connect to this MSQL server")Do I need to make anymore changes in the configuration? If yes, can you please guide me?