mysql workbench SSL connection error: SSL_CTX_set_default_verify_paths failed - mysql-workbench

Trying to setup ssl connection to my server every file path seems to be right
but keeping get error SSL connection error: SSL_CTX_set_default_verify_paths failed what this may be?

I had a similar issue and was able to fix the issue by changing my pem files to utf-8 encoding and that resolved the problem.

Related

SSL SYSCALL error: No error (0x00000000/0) | How to resolve this with pgAdmin4/PostgreSQL

Getting SSL SYSCALL error: No error (0x00000000/0) in pgAdmin4 when trying to access schemas in my database. Here is what is looks like:
I resolved the error by disconnecting the database and connecting again in pgadmin.
Don't know how to do it?
You can right-click on your database and choose 'Disconnect' to disconnect and then click on the database to reconnect.
Sharing an image of the options:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure & database disappeared & sql cmd line auto close

After running CCleaner and trying to debug a fix an Oauth password encryption type error, I have this error:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure
and all the local databases seemed to have disappeared
I tried to create a new database with MYSQL command line. After entering my password, there was a error and the window closed.
I have tried many solutions to debug the errors e.g. setting
compile('org.hibernate:hibernate-core')
compile('org.hibernate:hibernate-entitymanager')
to resolve an EntityFactory error which lead to this error I think.
I also tried killing the process on port 3306. But I couldn't think of any other options. Any suggestions for next steps would be...?
Apparently mysql service stopped working at some point without me realizing. The solution was going to Start -> type 'service.msc' -> run mysql80 (stands for mysql version 8.0 I think).

OrientDB 2.2.13 console.sh: getting "Cannot create a connection to remote server address(es)"

I have an embedded database where I start an OServer and trying to connect to it from the console. I've been doing this successfully for many months and upgrading the database as new versions come out. Now, with 2.2.13, the embedded operations seem to work but I can't connect to the server with the 2.2.13 console.sh. I get the message:
Error: com.orientechnologies.orient.core.exception.OStorageException: Cannot create a connection to remote server address(es): [127.0.0.1:2424]
DB name="master"
The java code running the embedded database gets the following exception:
$ANSI{green {db=db}} Error executing request
com.orientechnologies.orient.core.exception.ODatabaseException: Error on plugin lookup: the server did not start correctly
DB name="db"
at com.orientechnologies.orient.server.OServer.getPlugin(OServer.java:850)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.openDatabase(ONetworkProtocolBinary.java:857)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.handshakeRequest(ONetworkProtocolBinary.java:229)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:194)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
Seems to be looking for the 'cluster' plugin.
Any idea why this doesn't work anymore? It did work in 2.2.12.
Thanks
Curtis
Seems I had automatic backup turned on but the config file was missing. So, the server looked like it started up but actually didn't.
I created the config file and set enabled to false. Still didn't start up because it sees the false and stops the configuration and throws an exception because the 'delay' parameter isn't set.
I think orientdb should start up without backups enabled if the config file is missing or the enabled parameter is set to false.
At least the console is working now.

Postgresql and SSL certificat

I'm trying to install PostgreSQL with another data directory.
The problem comes when I try to start postgresql I have the following error :
Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2014-04-16 22:14:51 CEST FATAL: could not load server [FAILficate file "server.crt": No such file or directory ... failed!
failed!
I've tried a lot of things coming from here or here but nothing works for me.
My configuration file is in /etc/postgresql/9.1/main/ but I don't know why I have a some other configuration files on my new data directory. (visibly they are not used).
Naturally I can fix this bug by commenting the ssl = true on the postgresql.conf but it's not at all the aim.
According to the PostgreSQL Reference you should check your $PGDATA directory for the server.crt file. In cases is missing you should either request a new certificate or make self signed one and place the file there.

Mongo error: DBClientBase::findN: transport error()

I am facing this error continuously.
DBClientBase::findN: transport error()
I searched the problem and found that there are so many people who faced this problem but didn't find exact reason of this error.
why this error is coming ?
This is probably due to a network error connecting to the mongod server or a mongos cannot connect to the mongod.
The first thing to try in here is to restart the mongod/s
This also occurs if the MongoDB server only accepts SSL encrypted connections. For that you need a MongoDB client compiled with SSL support.
Further readings:
http://docs.mongodb.org/manual/tutorial/configure-ssl-clients/#connect-to-mongodb-instance-with-ssl-encryption
http://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
Mine was resolved by removing SocketTimeOut parameter from the ConnectionString::connect() call.
i.e.
pDBClientBase = cs.connect(strErr /*,2 */);