<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Data - SQL Server: Set Connection - Problem with the connection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54368#M8901</link>
    <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="31511f73-4e1d-4e8a-855d-a1634edf7f26" data-tag-text="@Alberto Gomez" href="https://community.blueprism.com/network/profile?UserKey=31511f73-4e1d-4e8a-855d-a1634edf7f26" data-itemmentionkey="1906a74b-394e-45ea-95ed-47800f65ce6b"&gt;@Alberto Gomez&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;There is a MySQL-specific connector available on the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/mysql-utility" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/mysql-utility&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 24 Jan 2022 11:36:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-01-24T11:36:00Z</dc:date>
    <item>
      <title>Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54366#M8899</link>
      <description>Hello.&lt;BR /&gt;I'm trying to connect to a MySQL Database from my BP PC. But I can't &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;I'm ussing the Data - SQL Server Object, but I don't know what is wrong with my connection.&lt;BR /&gt;If I try to connect with other aplication (such HeidiSQL) I could connect to this database and I could obtain some kind of data. But when I try to obtain these data using BP, .... I can't, so I am sure that I am doing something wrong.&lt;BR /&gt;&lt;BR /&gt;Using this objet, Data - SQL Server, I write:&lt;BR /&gt;Server: The IP address of my database. It is all that I have from the database server. And I have to write the port used by the server connection.&lt;BR /&gt;Database: The database name schema that I have to obtain data.&lt;BR /&gt;User: The username to access to the Server Database&lt;BR /&gt;Password: The password&lt;BR /&gt;&lt;BR /&gt;I suposse that my problem could be in the server instance, that I don't have to write only the IP address and the port. Or maybe I don't have the right driver to use this object.&lt;BR /&gt;&lt;BR /&gt;Please, help.&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alberto Gómez&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 09:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54366#M8899</guid>
      <dc:creator>AlbertoGómez</dc:creator>
      <dc:date>2022-01-24T09:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54367#M8900</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If i'm not wrong, the problem here is that you try to open a connection to a MySQL data base using the SQLConnection Class. HeidiSQL works correctly with SQLConnection, but MySql dont.&lt;BR /&gt;&lt;BR /&gt;You can try making the connection with some C# code. This piece of code looks similar to SQL Server, here you have some links:&lt;BR /&gt;&lt;BR /&gt;Build the connection String: &lt;A href="https://www.connectionstrings.com/mysql/&amp;nbsp;" target="_blank" rel="noopener"&gt;https://www.connectionstrings.com/mysql/ &lt;/A&gt;&lt;BR /&gt;Large example of code: &lt;A href="https://zetcode.com/csharp/mysql/" target="_blank" rel="noopener"&gt;https://zetcode.com/csharp/mysql/&lt;/A&gt;&lt;BR /&gt;Download the dll: &lt;A href="https://es.dll-files.com/mysql.data.dll.html" target="test_blank"&gt;https://es.dll-files.com/mysql.data.dll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And some quick steps to proceed:&lt;BR /&gt;&lt;BR /&gt;1. Add the reference to the mysql.data.dll in your BP Object&lt;BR /&gt;2. Add a step of code with this lines (example)&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;using var con = new MySqlConnection(cs);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;con.Open();&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;var stm = "SELECT VERSION()";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var cmd = new MySqlCommand(stm, con);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;using MySqlDataReader rdr = cmd.ExecuteReader();&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;while (rdr.Read())&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Console.WriteLine(rdr.GetInt32(0))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Console.WriteLine(rdr.GetString(1))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Bye!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Programmer&lt;BR /&gt;Altamira AM&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 10:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54367#M8900</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-01-24T10:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54368#M8901</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="31511f73-4e1d-4e8a-855d-a1634edf7f26" data-tag-text="@Alberto Gomez" href="https://community.blueprism.com/network/profile?UserKey=31511f73-4e1d-4e8a-855d-a1634edf7f26" data-itemmentionkey="1906a74b-394e-45ea-95ed-47800f65ce6b"&gt;@Alberto Gomez&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;There is a MySQL-specific connector available on the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/mysql-utility" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/mysql-utility&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 11:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54368#M8901</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-24T11:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54369#M8902</link>
      <description>Entonces, entiendo que el problema es que si desde mi equipo con BP tengo que conectar a una base de datos MySQL no puedo utilizar el Objeto "Data - SQL Server" que viene con BP. He intentado también con el OLEDB y tampoco me deja. Solución, ¿ir al código? Lo digo por no buscar mucho más, porque de momento, no estoy siendo capaz de hacer nada y me estoy volviendo un poco loco. Ya no se si es problema que no estoy siendo capaz de realizar la instancia adecuadamente, si me falta algún driver, o si que simplemente, el Objet de BP no es el adecuado.&lt;BR /&gt;Cuando tenga unos minutos a lo largo del día lo pruebo.&lt;BR /&gt;&lt;BR /&gt;Muchas gracias y te voy comentando.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alberto Gómez&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 11:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54369#M8902</guid>
      <dc:creator>AlbertoGómez</dc:creator>
      <dc:date>2022-01-24T11:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54370#M8903</link>
      <description>Thank you very much, Eric.&lt;BR /&gt;I tried it before. I saw you in others post and I tried to connect to my MySQL data base, but at least, I always get the same. Nothing.&amp;nbsp;&lt;BR /&gt;When I run this stage (MySQL (Modified)), it had to return me a kind of collection (in my example, named "Results"). But I get nothing. No error, nothing wrong, no signals, any clue about what is going on. So I am a little bit disappointed.&lt;BR /&gt;Anyway, thank you very much&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alberto Gómez&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 15:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54370#M8903</guid>
      <dc:creator>AlbertoGómez</dc:creator>
      <dc:date>2022-01-24T15:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Data - SQL Server: Set Connection - Problem with the connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54371#M8904</link>
      <description>Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="31511f73-4e1d-4e8a-855d-a1634edf7f26" data-tag-text="@Alberto Gomez" href="https://community.blueprism.com/network/profile?UserKey=31511f73-4e1d-4e8a-855d-a1634edf7f26" data-itemmentionkey="077bbf71-a8b2-4f47-a28d-3216958fede6"&gt;@Alberto Gomez&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;It's hard to say what might be going on with your modified version of the VBO. In the standard VBO, you would call the &lt;EM&gt;&lt;STRONG&gt;Set Connection&lt;/STRONG&gt;&lt;/EM&gt; action before anything else. This is where you would pass in your server name, the database name, and your username and password. This builds the connection string for you. &lt;BR /&gt;&lt;BR /&gt;After that, you would call the &lt;EM&gt;&lt;STRONG&gt;Execute&lt;/STRONG&gt;&lt;/EM&gt; action (assuming you do not expect any output beyond the Success flag and/or an error message) passing in your SQL statement. If you're trying to execute a query that returns data you would call one of the other helper actions like &lt;EM&gt;&lt;STRONG&gt;Get Collection&lt;/STRONG&gt;&lt;/EM&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2022 15:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Data-SQL-Server-Set-Connection-Problem-with-the-connection/m-p/54371#M8904</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-24T15:57:00Z</dc:date>
    </item>
  </channel>
</rss>

