<?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: Need help to connect to local DB from Data bricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/need-help-to-connect-to-local-db-from-data-bricks/m-p/9854#M5137</link>
    <description>&lt;P&gt;Hi, Could you please verify the network connectivity from Databricks to the SQL server? Please make sure SQL:port is allowed in your firewall rules or security groups. &lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 07:05:15 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-02-08T07:05:15Z</dc:date>
    <item>
      <title>Need help to connect to local DB from Data bricks</title>
      <link>https://community.databricks.com/t5/data-engineering/need-help-to-connect-to-local-db-from-data-bricks/m-p/9853#M5136</link>
      <description>&lt;P&gt;jdbcHostname="478"&lt;/P&gt;&lt;P&gt;jdbcPort=1433&lt;/P&gt;&lt;P&gt;jdbcDatabase="Onprem_AzureDB"&lt;/P&gt;&lt;P&gt;jdbcUsername="upendra"&lt;/P&gt;&lt;P&gt;jdbcPassword="upendrakumar"&lt;/P&gt;&lt;P&gt;jdbcDriver="com.microsoft.sqlserver.jdbc.SQLServerDriver"&lt;/P&gt;&lt;P&gt;jdbcUrl=f"jdbc:sqlserver://{jdbcHostname}:{jdbcPort};databaseName={jdbcDatabase};user={jdbcUsername};password={jdbcPassword}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test1=spark.read.format("jdbc").option("url",jdbcUrl).option("dbtable","onprem_table1").load()&lt;/P&gt;&lt;P&gt;display(test1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 478, port 1433 has failed. Error: "478. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 14:44:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-help-to-connect-to-local-db-from-data-bricks/m-p/9853#M5136</guid>
      <dc:creator>Skesaram</dc:creator>
      <dc:date>2023-02-07T14:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to connect to local DB from Data bricks</title>
      <link>https://community.databricks.com/t5/data-engineering/need-help-to-connect-to-local-db-from-data-bricks/m-p/9854#M5137</link>
      <description>&lt;P&gt;Hi, Could you please verify the network connectivity from Databricks to the SQL server? Please make sure SQL:port is allowed in your firewall rules or security groups. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 07:05:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-help-to-connect-to-local-db-from-data-bricks/m-p/9854#M5137</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-02-08T07:05:15Z</dc:date>
    </item>
  </channel>
</rss>

