Log into MySQL as admin. Replace the parts in bold below and type the following commands into a MySQL shell. 54.245.93.65 is the public IP of Ubiq and $database_name, $user, and $password are database user details.
CREATE USER '$user'@'54.245.93.65' IDENTIFIED BY '$password';
GRANT SELECT, SHOW VIEW ON $database_name.* TO $user@'54.245.93.65' IDENTIFIED BY '$password';
FLUSH PRIVILEGES;
Linux: Open the file my.conf located at /etc/mysql/my.cnf and comment the line bind-address=127.0.0.1 by adding '#' before it. Save & close the file. If you don't find this line in file, leave it unchanged.
Windows: Open my.ini located at C:\Program Files\MySQL\MySQL Server 5.x\ (where 5.x is mysql version) and comment the line bind-address=127.0.0.1 by adding '#' before it. Save & close the file. 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(54.245.93.65)
.On Linux (Debian/Ubuntu) : enter this command in shell (keyword sudo is optional)
On Linux (RHEL/Fedora/CentOS) : enter this command in shell (keyword sudo is optional)
On 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
The connection form has the following fields:
Please ensure the database details are entered correctly before you click Connect.