The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Cannot connect to Database"
Hello everyone,
I am trying to connect with the database and I am getting the following error:
"Communications link failure Last packet sent to the server was 0 ms ago."
I am running Snow Leopard with Rapid-I 5. The database is running locally and I can access it from both console and phpAdmin. Any ideas of where the problem might be?
Thanks,
Jose
I am trying to connect with the database and I am getting the following error:
"Communications link failure Last packet sent to the server was 0 ms ago."
I am running Snow Leopard with Rapid-I 5. The database is running locally and I can access it from both console and phpAdmin. Any ideas of where the problem might be?
Thanks,
Jose
Tagged:
0
Answers
there are dozens of problems possible. To start with: Which data base system are you using?
Greetings,
Sebastian
First, check the 'Show Database Driver' in the 'Tool' menu, see if the MySQL driver is available.
If so, Try the right format of the connection string like "jdbc:mysql://host:port/database" as well as the right user name and password.
If not, download the right driver, and put it in the setuppath/Rapid-I/RapidMiner5/lib/jdbc, restart RapidMiner, and try the step above.
,
Flyfire.
Any other ideas?
PS: It is working with remote databases - The only problem is localhost!
did you check if the MySQL user has the privilege to connect to that database from localhost?
In the Connection Settings Dialog there's a "Check Connection" button. What does it report if you press it?
Greetings,
Sebastian
I am using RapidMiner 5.3.
I am trying to read some data from csv files and would like to put it into a MySQL database. I am using write database operator. I added the connection settings, the database name, username and password. When I test the connection, I am getting "Communication link failure. The last packet sent successfully to the server was 0 milliseconds ago....".
I tried out the below suggestions:
1. Removed the jar file from lib/jdbc and installed another version.-Didn't work
2. Added a new user with all privileges assigned. Didn't work.
Can anyone help out?