In a muddle.
On DigitalOcean, installed ebase v5 and oracle, tried to install mysql and that played up so thought best spin another server and have it run mysql on its own.
Problem: Creating a connection to my development machine i.e remote to DigitalOcean. Getting this error
Code: Select all
JavaException: com.ebasetech.ufs.kernel.FormException: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.sql.SQLException: Cannot get connection for URL jdbc:mysql://46.101.95.129/?autoReconnect=true : Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Server Host Name: 46.101.95.129
User Name: <username>
Password: <password>
When selecting find of database name above message is output.
My understanding is since the root account created for mysql access is registered as root@localhost, then I needed to create a new user and grant privileges accordingly. monty is defined as monty@% within the database for this purpose. flushed privileges and restarted mysql service.