Create a new MySQL connection
Solved
Maximims
Posted messages
275
Status
Membre
-
Takine Posted messages 1 Status Membre -
Takine Posted messages 1 Status Membre -
Hello,
I have a small issue with MySQL software.
Let me explain briefly, I would like to import data from a database on Microsoft SQL Server into my database created on MySQL.
To do this, I am using Talend, so I created a job to retrieve the data from one database to transfer it to another.
However, from MySQL, I am trying to create a new connection (via Workbench) but this error message appears: "can't connect to MySQL server on '127.0.0.1' (10061)".
I am really a beginner in this matter, I think I am confusing several terms and concepts because I am completely lost.
Thank you in advance for your help if anyone passes by here!
I have a small issue with MySQL software.
Let me explain briefly, I would like to import data from a database on Microsoft SQL Server into my database created on MySQL.
To do this, I am using Talend, so I created a job to retrieve the data from one database to transfer it to another.
However, from MySQL, I am trying to create a new connection (via Workbench) but this error message appears: "can't connect to MySQL server on '127.0.0.1' (10061)".
I am really a beginner in this matter, I think I am confusing several terms and concepts because I am completely lost.
Thank you in advance for your help if anyone passes by here!
The problem is that I don't have a database on MySQL; I thought I had created the database by creating a new model on Workbench.
Are you the kind of person who puts gas in... before having a car?
No... workbench is just an interface that allows you to feed/manipulate databases...
To be able to create a connection... you need something to connect to.
So, you first need to install mysql on your computer... then create a Database and finally you will be able to connect to it.
To have a local mysql database on your computer... you can download software like Laragon, Uwamp, Xampp, Wamp, EasyPhp... it's up to you to choose...
Now on Talend, the connection still works, but the one corresponding to my MySQL database displays an error message which is as follows:
"Connection failed. You need to modify the database settings.
java.lang.RuntimeException: java.sql.SQLException: The server time zone value 'Paris, Madrid' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specific time zone value if you want to utilize time zone support."
It seems to me that this is related to a time zone issue, but downloading the specified driver did not solve it..
jdbc:mysql://localhost/db?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
The message tells you to configure the server and/or the driver.
On the server side:
https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
On the driver side... no idea. It is no longer a MySQL issue per se... but your software.