RavenDB 4 SQL ETL Connection String

125 views
Skip to first unread message

Jordan Brown

unread,
Jul 11, 2018, 10:26:33 AM7/11/18
to RavenDB - 2nd generation document database
Do you have documentation on how to format a MySQL connection string for a SQL ETL task? All the connection string links I see in the docs point to a "todo-update-me-later" page.

I tried using a connection string that worked in 3.5, like this:

Persist Security Info=False;Server={Server};Port={Port};Database={Database};Uid={User};Pwd={Password};CharSet=utf8mb4

When I paste this into a new task in studio and test connection, I get an error:

Connection test failed: System.ArgumentException: Keyword not supported: 'port'. at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey)

When I try to create a task programmatically via SqlEtlConfiguration / AddEtlOperation, I get this error:

Raven.Client.Exceptions.RavenException: System.NotImplementedException: Factory 'MySql.Data.MySqlClient' is not implemented yet

Thanks in advance for any help you can provide.

Oren Eini (Ayende Rahien)

unread,
Jul 12, 2018, 2:37:16 AM7/12/18
to ravendb
What build are you using? 
The standard MySQL .NET connection string should work.
Something like this:

Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;
Pwd
=myPassword;

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arkadiusz Palinski

unread,
Jul 12, 2018, 3:07:21 AM7/12/18
to rav...@googlegroups.com
SQL ETL to MySQL is supported from 4.1. Raven 4.0 supports sending data to MS SQL only (that's why you got NotImplementedException). You can download version 4.1 nightly from:


To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Arkadiusz Palinski

unread,
Jul 12, 2018, 3:30:39 AM7/12/18
to rav...@googlegroups.com
Note that in RavenDB 4.1 you'll need to choose SQL factory:

image.png

Jordan Brown

unread,
Jul 12, 2018, 9:52:51 AM7/12/18
to RavenDB - 2nd generation document database
Do you have an ETA for releasing 4.1 stable? We are trying to migrate from 3.5 to 4 since only provisional licenses are available for 3.5. Our infrastructure depends on SQL replication / MySQL, so this would be a showstopper for us.

Oren Eini (Ayende Rahien)

unread,
Jul 12, 2018, 9:57:37 AM7/12/18
to ravendb
Planned for August
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages