Linking my current database to python using mysql-connector


Hello, I am trying to connect the MySql database provided by webhostapp to python. I am currently using free hosting on webhostapp. I have installed mysql-connector on python. Could you please tell me what do i need to enter as the hostname when i use the function

mysql.connector.connect(user=’’, password=’’,

I got what to enter in the user, password and database fields. I just don’t know what to enter in the hostname field. Thanks in advance!


@rajas Remote mysql and python is not allowed on 000webhost.