Log into MySQL as admin. Replace the parts in bold below and type the following commands into a MySQL shell. 126.96.36.199 is the public IP of Ubiq and $database_name, $user, and $password are database user details.
CREATE USER '$user'@'188.8.131.52' IDENTIFIED BY '$password';
GRANT SELECT, SHOW VIEW ON $database_name.* TO $user@'184.108.40.206' IDENTIFIED BY '$password';
Open the file my.conf in linux (located at /etc/mysql/my.cnf) or my.ini in windows (located at C:\Program Files\MySQL\MySQL Server 5.x\ where 5.x is mysql version) in your mysql installation location and comment the line bind-address=127.0.0.1 by adding '#' before it. This enables Ubiq to connect to MySQL. If you don't find this line in file, leave it unchanged.
Update firewall permissions for MySQL port(3306) to allow access to Ubiq's IP(220.127.116.11).
Linux : enter this command in shell (keyword sudo is optional)
Windows : Open command prompt in administrator mode (search for cmd.exe file, right click on file icon and select "Run as administrator") & enter these commands in command prompt
When you click on Add direct Connection on the Data Sources tab, on project homepage, you will see the following form.
The form has the following fields:
Please ensure the host name, database name, user name, password & port are entered correctly before you click Connect. On successful connection, you will see the data source listed under the Data Sources Tab. In case of issues, please don't hesitate to mail us at email@example.com if you face any issues. We surely reply within a day.