parse migration : Server returned error on SASL authentication step: Authentication failed - mongodb

im trying to migrate the parse mongodb to self hosted mongodb server (version 3.0.12 on debian 7). the firewall is open and i can connect to the mongodb server from my laptop but when i try to migrate the database using parse Migrate App then i get below error
Server returned error on SASL authentication step: Authentication failed.
here is what my connection strings look like
mongodb://rootuser:S3ecretw0rd#<mongodb-server-ip>:45045/dbtest

I've got the solution: I used a plus in my password and because of that it didn't worked.

Related

Error Connecting PowerBi Server to PostgresSQL hosted on AWS Relational Database Service via Gateway

After I publish the report to powerbi server, I get this error below when I try to authenticate my datasource with basic credentials.
Underlying error code: -2147467259 Underlying error message: Please install Npgsql version 4.0.10.0 or earlier. DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259 Microsoft.Data.Mashup.ValueError.DataSourceKind: PostgreSQL
This works perfectly on desktop version but fails on server.
I could see several solutions online but only for desktop version. Can someone guide me please.

How to update Pentaho Spoon JDBC drivers

I'm trying to connect to a postgresql 13 DB hosted on my computer using spoon.
I get the following error when trying to connect
Error connecting to database [DW] :org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.postgresql.Driver)
The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.postgresql.Driver)
The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
I did some digging and that's due to an outdated JDBC driver. Can anyone help me update the driver? I have located the driver directory but the guide on the website https://help.pentaho.com/Documentation/5.4/0D0/160/030
is just crap, they require you to have a distribute-files.bat file? Which I couldn't find anywhere.
You do not have to follow all the steps. Just pasting the JAR file in the directory is enough.

How to resolve pymongo authentication failure error?

I am trying to fetch data from my mongodb but it fails with:
pymongo.errors.OperationFailure: Authentication failed.
It is weird because when I am trying to authenticate with same credentials through robo3T (MongoDB GUI) it is able to connect easily.
Through code it is like:
client = MongoClient(host=host,
port=int(port),
username=username_admin_db,
password=password_admin_db,
authSource=authSource_admin_db,
maxPoolSize=15,
MaxIdleTimeMS=120000
)
db_handle = client[database_name]
for i in db_handle[collection_name].find({'account_id': "1234"}):
print(i)
In mongod.conf:
security:
authorization: enabled
It is also weird because through the same code I am able to authenticate to another db on a different server with same credentials and same db name.
Versions:
Python 3.6.10
MongoDB 3.4
pymongo 3.5.1
Django 1.11.7

Cant use mongodb after migrating parse database (using digital ocean migration tutorials)

I have never set up a server myself and I thought that seeing as I have to migrate my parse app I may as well have a go at it.
I have a database that I am moving from Parse to digital ocean. I have a droplet (ubuntu 14.0.4.4 x64) where I log in as a non root user with sudo privileges. I have followed this tutorial to get mongo set up on the droplet.
Then I have followed this tutorial step by step to get the example running on the droplet, which seems to work fine.
Now I am following this tutorial to migrate my existing data over. I have followed the tutorial step by step up to the part where I migrate the data from the parse.com browser. This seems to work fine as I receive the email from Parse saying that "Your Parse Data Migration for Is Ready To Be Finalised!".
The strange thing is, is that when I try to start mongo through terminal I get the error:
MongoDB shell version: 3.0.12
connecting to: test
2016-08-01T19:45:22.383-0400 I NETWORK DBClientCursor::init call() failed
2016-08-01T19:45:22.388-0400 E QUERY Error: DBClientBase::findN: transport error: 127.0.0.1:27017 ns: admin.$cmd query: { whatsmyuri: 1 }
at connect (src/mongo/shell/mongo.js:179:14)
at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed
As I said I am new to using servers and am relying on these tutorials and hopefully help from the community here.
Thanks for your time

connection verification failed for data source - Coldfusion Server Administration

I have just installed ColdFusion 10 and am trying to connect to MySql Server 5.1, but it is showing the error below:
Connection verification failed for data source: cfartgallery2
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer
JDBC Driver]Error establishing socket. Unknown host: MySQL Server The
root cause was that: java.sql.SQLNonTransientConnectionException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket. Unknown
host: MySQL Server
Finally after 2 days I solved my own problem of getting the above error. It was due to a missing ODBC connector.
Steps for resolving:
First download and install the ODBC connector of respective version as of your MYSQL server version.
Rhen install vcredist_x64 it is required for sql connectivity.
Then install any SQL Server to create the database and start connecting to it with the datasource you have created in tour CF Administrator.
Hope you can solve your problem with my instructions , if not then please post your queries below.