Log into MySQL as admin. Replace the parts in bold below and type the following commands into a MySQL shell. 220.127.116.11 is the public IP of Ubiq and $database_name, $user, and $password are database user details.
CREATE USER '$user'@'18.104.22.168' IDENTIFIED BY '$password';
GRANT SELECT, SHOW VIEW ON $database_name.* TO $user@'22.214.171.124' 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(126.96.36.199).
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 firstname.lastname@example.org if you face any issues. We surely reply within a day.