Forum Home › Forums › Understanding the Software › Export data to SQL
Tagged: Export data to SQL
- This topic has 10 replies, 4 voices, and was last updated 1 year ago by Mikhail.
-
AuthorPosts
-
November 10, 2021 at 3:15 pm #9639tranduong257Participant
Hello,
I’m trying export data from Rapid to SQL server, i can’t connect Rapid to the Server, so I have some question:
1. Is it necessary to activate or get a license for ModBDExport.dll?
2. I see some query in documentation, Have I specify that query in Rapid only or in both Rapid and SQL Server Management?
Thank you so much.November 11, 2021 at 10:53 am #9643MikhailModeratorHi,
1. No, the module is free.
2. Specify the query in the module configuration.If you provide screenshots of the module settings, I can check.
November 11, 2021 at 12:10 pm #9649jlemusParticipantHi I have the same problem
I executed the sql scripts in the documentation creating the necesary tables in the database and configure the insert and update queries in the module configuration tabs.
then i configure the conection and nathing.i think there must be something mising, for example how does the module knows wich channels to export?.
thanks in advance
November 11, 2021 at 2:09 pm #9650jlemusParticipantIm using Slq Server 2008R2
and Win10November 12, 2021 at 11:00 am #9652MikhailModeratorHi,
Module screenshots and logs appreciated.how does the module knows wich channels to export?
The current version of the module exports all channels. In the next version, a user can specify the channels.
November 12, 2021 at 1:35 pm #9653jlemusParticipantthanks, the module worked out, I accidentaly had taken the postgre sql sample scripts instead of the sql server sample scripts.
thanks for the clarification on the channels topic. Hoping to see the next version soom.
November 15, 2021 at 10:20 am #9656MikhailModeratorThe new Rapid SCADA 5.8.4 contains fully redesigned Export to Database module. I recommend to update.
March 29, 2023 at 8:42 am #12309naserParticipantHow I Connect Microsoft SQL Server With Rapid Scada Idid Setting as per the attachment but not working
ModDbExport_001.log
2023-03-23 09:39:49 Error connecting to DB:
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. —> System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at MySql.Data.Common.MyNetworkStream.CreateStream(MySqlConnectionStringBuilder settings, Boolean unix)
at MySql.Data.Common.StreamCreator.GetStream(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Scada.Db.DataSource.Connect()
at Scada.Server.Modules.DbExport.Exporter.Connect()
2023-03-23 09:39:51 Error connecting to DB:
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. —> System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at MySql.Data.Common.MyNetworkStream.CreateStream(MySqlConnectionStringBuilder settings, Boolean unix)
at MySql.Data.Common.StreamCreator.GetStream(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Scada.Db.DataSource.Connect()
at Scada.Server.Modules.DbExport.Exporter.Connect()
2023-03-23 09:39:52 Error connecting to DB:
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. —> System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at MySql.Data.Common.MyNetworkStream.CreateStream(MySqlConnectionStringBuilder settings, Boolean unix)
at MySql.Data.Common.StreamCreator.GetStream(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Scada.Db.DataSource.Connect()
at Scada.Server.Modules.DbExport.Exporter.Connect()
2023-03-23 09:39:53 Error connecting to DB:March 29, 2023 at 12:59 pm #12316MikhailModeratorHello,
Did you try entering IP address in the Server textbox?April 6, 2023 at 3:35 pm #12389naserParticipanthello,
can you explain how I enter IP address in Server textbox ?
April 7, 2023 at 1:01 pm #12393MikhailModeratorHello,
See https://ibb.co/JkXJSmJ -
AuthorPosts
- You must be logged in to reply to this topic.