How do I add MySQL database to icCube? - mysql

I am new to icCube and I need to add MySQL database as a data source. But every time I try to do it, icCube fails to establish connection:
Failed to establish the connection due to the error: JDBC connection for url 'jdbc:mysql://localhost:3306/foodmart' and user 'root' cannot be created due to error 'Could not create connection to database server.'
I am pretty sure I'm making a very dumb mistake, but as I mentioned before, I'm new and cannot figure it out. Here are the screenshots of
what I type in and my MySQL connection

Related

Cannot log into MySQL workbench server - unknown database

After dropping a schema in MySQL workbench and attempting to re-create it (a process I have done many imes, it is just an easy way to clear out the database so that hibernate can recreate it), I suddenly got this error for the first time and now I cannot do anything with MySQL workbench. Any help?
Cannot Connect to Database Server Your connection attempt failed for
user 'root' to the MySQL server at localhost:3306: Unknown database
'bookstore'
It then makes me check that MySQL is running on localhost, port 3306, user root has rights, password is correct, etc. This is all correct. I know the database is unknown because I dropped it, but I am not sure why that is causing an issue now when all I want is to be able to log in to the server. I tested the connection via settings for the server connection and it is actually able to connect fine. I have done this before many times with no issues.
Any help would be greatly appreciated.

How to close connection to a remote MySQL database?

I was testing my SpringBoot app which connects to a remote SQL database. I was also using MySQL workbench to view the tables. Then when I tried to run my app, it gave an error message as follows:
Data source rejected establishment of connection, message from server: "Too many connections"
I have tried restarting my PC but it still gives the same error. How can I solve it? I believe the previous connection was not properly closed. What can I do now?
The connections are automatically closed (or return to the connection pool) if you are using Spring Data Repository or JdbcTemplate. Your application may really need too many connections compared to your database limit, in that case you should check your database configuration. You can also check your connection properties in application.properties (pool size, idle time, timeout). Please add more details like code or configuration.

Connection CLOUD-SQL to Google-Data-Studio, what is wrong?

I'm trying to establish a connection between Cloud SQL and Data Studio. I've already tried to make a connection through the MySQL connector with a MySQL db and it failed because I think the Router did not allow the connection.
Then I transferred the db on the cloud but I have the same error!!! Which is:
ID errore: f73c5f49
I already opened Cloud-SQL to all the Data Studio IP addresses, I've created users with "%" and given them all the privileges, I created instance, db and user in CLOUD-SQL (MySQL, 2nd generation).
What else can I try? Could it still be a Router problem?I have to do that for work but it keeps saying that connector parameters are wrong.
PLEASE HELP <3 THANKS A LOT
A common error is to write the instance name instead of the "instance connection name".
You can find the "Instance Connection Name" in the instance page, in the overview section, and normally the format is something like:
[PROJECT_ID]:[region]:[NAME_SQL_INSTANCE]
I also had a similar connection problem with MySql 8.0 but changing to 5.7 fixed it.

How to solve MySQLDAC HTTP Tunnel connection

I want to connect to MySQL database using HTTP Tunnel (because port for remoting database is closed). I used mysqlDAC vcl for Delphi, when I was in design mode, i used GridView to display its data successfully.
But the problem when i compile the project, I always get this error :
Project WP.exe raised exception class HttpException with message 'Error on data reading from the connection:
A blocking operation was interrupted by a call to WSACancelBlockingCall.
Socket Error Code: 10004($2714)'. Process stopped. Use Step or Run to continue.
Can somebody help me to solve this problem? I think my connection setup is correct, because I can display the data on DBGrid when I set connection is true.

Getting error when creating connection to MySQL server driver

I installed MySQL server and I also test this server by creating user data base userlist table and also check that it is working fine on command line as I previously done. But This time getting error when try to create a user.
I already used this but actauly I format my system and creating connection again. But this time getting error.