MySQL Workbench error when making new connection - mysql-workbench

I am attempting to make a new connection with MySQL workbench and am receiving an error calling a python function WbAdmin.testInstanceSettingByName when attempting to check MySQL configuration file.

Related

How can I succesfully connect to mongodb with DBC file?

I´m trying to reach a DBC connection with my mongodb DB. I already have configured my mongodb C driver and I´m using SSL...
I tried to connect via .dbc file to my database using "m_db test" from my CLI (RHEL7) and i receive the following error log
ABINITIO(DB29001): Error while connecting to Mongo server
ABINITIO(DB29017): Error parsing connect string: mongodb://user:password#hostname:37017/database_name?ssl=true&authMechanism=MONGODB-X509&authSource=database_name&socketTimeoutMS=600000
ABINITIO(*): Database package version 4-0-2-2-e11-1

Using Wrangler with MySQL: A server error occurred when testing the connection. Error: Exception occurred while handling request: string

I am trying to connect a MySQL database via Google Cloud Data Fusion Wrangler. It's a very standard connection and I can connect and do every action with another tool (DBeaver). However, trying to connect with Wrangler, I am getting this message:
A server error occurred when testing the connection. Error: Exception occurred while handling request: string
Any suggestions? Thanks!
Please follow the instructions on https://cloud.google.com/data-fusion/docs/how-to/using-jdbc-drivers
Once done, you will be able to select the uploaded driver from the dropdown
For your requirement, you have to use JDBC Driver for connecting to MySQL database.You can use Public IP to setup connection to Wrangler.
Following are the steps to connect to MySQL database using Wrangler
Go to Hub in the Cloud Fusion instance and and select the required JDBC Driver.
Download the
driver and deploy it.
Go to Wranglers page and click on Add
Connection if you are connecting to MySQL for the first time.
Select
the MySQL database from the list of databases provided in Wrangler.
Add name and JDBC driver along with username, password and other connection arguments.
Click on test connection to check the connectivity.
For more details you can check this link.

"Unable to connect to data source" while using DolphinDB ODBC to connect mssql

I have installed mssql server2017, unixODBC and tdsodbc on ubuntu 18. After configuring the DSN, I execute this code:
isql -v testjob SA Password1
It shows me an correct connection.
Then I load the ODBC plugin in DolphinDB GUI:
loadPlugin("/home/xhtang/dolphindb/server/plugins/odbc/PluginODBC.txt")
The plugin has been loaded successfully.
I connect the mssql server:
use odbc
conn = connect("Dsn=testjob")
But an error comes:
error connecting to [D]: odbc/src/nanodbc.cpp:1051: 0800: [FreeTDS][SQL Server]Unable to
connect to data source
I have tried to connect by other means, but still failed. How to solve this issue?
The problem should be that the ODBC DSN in the connect statement in the DolphinDB GUI is not set correctly. You can try the following connection methods:
conn = odbc::connect("DSN=testjob;Uid=SA;Pwd=Password1;") 

JDBC Connection between MATLAB and NEO4J

I am trying to setup a database connection (to neo4j) using its JDBC driver. I am using Database Explorer within 2014b.
I get the error message "Unable to find JDBC driver". I have tried adding the driver using javaaddpath ('D:\driver path\filename.jar') and then using any combination of this in the "Driver" field in Connection Parameters. I have also tried "edit classpath.txt" as suggested elsewhere but I can't save it (Access Denied).
So any suggestions?

ERRORCODE=-4499, SQLSTATE=08001 DB2 Eclipse

I try to create a db2 schema in my application in eclipse, but connection fails [ERRORCODE=-4499, SQLSTATE=08001] I can access the db2 and run it directly but I need to establish the connection into my application to be able to insert from the client side. any advice?