<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to connect to database]]></title><description><![CDATA[<p dir="auto">hi support,<br />
am new to netXMS i have installed it in our Ms windows 2008 server 2008, i have read and diagnosed<br />
but it has not worked up to now. see the attached error</p>
<p dir="auto">c:\netxms\bin\netxmsd</p>
<p dir="auto">C:\&gt;c:\netxms\bin\netxmsd -D3<br />
Using configuration file "C:\NetXMS\etc\netxmsd.conf"<br />
[18-Dec-2014 12:51:57.034] Debug callback set for DB library<br />
[18-Dec-2014 12:51:57.037] Database driver "mssql.ddr" loaded and initialized su<br />
ccessfully<br />
[18-Dec-2014 12:53:59.957] Unable to establish connection with database ([Micros<br />
oft][SQL Server Native Client 10.0]Named Pipes Provider: Could not open a connec<br />
tion to SQL Server [2]. )<br />
NetXMS Core initialization failed</p>
<p dir="auto">C:\&gt;<br />
 </p>
<p dir="auto">"Unable to connect to database:[Microsoft][SQL Server Native Client 10.0]<br />
Named Pipes Provider:Could not open a connection to SQL Server".</p>
]]></description><link>https://forum.netxms.org/topic/3520/unable-to-connect-to-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:05:12 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3520.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Dec 2014 10:12:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to connect to database on Sat, 12 Feb 2022 02:49:38 GMT]]></title><description><![CDATA[<p dir="auto">7 years later.... and this still works.</p>
<p dir="auto">Windows Server 2022 Std. with Microsoft SQL 2019 Std.</p>
<p dir="auto">Windows (x64) NetXMS 4.0.2092.</p>
<p dir="auto">(1) Install SQL First<br />
(2) Set named pipes in sql config<br />
(3) Launch a cmd and run the commands listed by Toepfe<br />
(4) Run the windows netxms installer with making your db name match your created db (mine was just netxms)</p>
<p dir="auto">Settings for install were....</p>
<p dir="auto">Database Type = Microsoft SQL<br />
Database Server = YOURSERVERNAMEONLY<br />
Database Name = netxms (or whatever you named your db in the commands above)<br />
Login Name = sa<br />
Password = (your sa password, if you use sa)<br />
No check in the box for Create database and database user before initialization</p>
]]></description><link>https://forum.netxms.org/post/31014</link><guid isPermaLink="true">https://forum.netxms.org/post/31014</guid><dc:creator><![CDATA[drakerex]]></dc:creator><pubDate>Sat, 12 Feb 2022 02:49:38 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to connect to database on Mon, 19 Jun 2017 19:46:01 GMT]]></title><description><![CDATA[<p dir="auto">Initial post is over two years old, but it helped me get NetXMS installed on a brand new Win 2008 R2 VM.</p>
<p dir="auto">I reset all passwords, created a db or not. Nothing mattered.</p>
<p dir="auto">The only difference was following Toepfe's post from 5/12/15 which walked me through the exact steps needed after 2 plus days trying everything else.</p>
<p dir="auto">NetXMS just doesn't work in Windows with that installer hooked into configuring the db.</p>
<p dir="auto">Not a good first impression of NetXMS, we'll see how the rest of this eval goes</p>
]]></description><link>https://forum.netxms.org/post/22504</link><guid isPermaLink="true">https://forum.netxms.org/post/22504</guid><dc:creator><![CDATA[rrosko]]></dc:creator><pubDate>Mon, 19 Jun 2017 19:46:01 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to connect to database on Tue, 12 May 2015 12:38:29 GMT]]></title><description><![CDATA[<p dir="auto">OK I did it myself  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto">Connect to database instance via sqlcmd and user sa</p>
<p dir="auto">sqlcmd -S localhost\SQLEXPRESS -U sa</p>
<p dir="auto">And put in the following commands:</p>
<p dir="auto">1&gt; create database netxms_db<br />
2&gt; go<br />
1&gt; use netxms_db<br />
2&gt; go<br />
1&gt; create login netxms with password = 'YourFavoritePassword'<br />
2&gt; go<br />
1&gt; create user netxms for login netxms;<br />
2&gt; go<br />
1&gt; grant alter to netxms;<br />
2&gt; go<br />
1&gt; grant control to netxms;<br />
2&gt; go</p>
<p dir="auto">After that you are able to choose above existing database while installation (use "initialize database"!) and the Configuration Wizard works without problems (in my case).</p>
<p dir="auto">The question is, why Netxms offer the option to create a new database inside MS SQL while installation although this is not working?!</p>
<p dir="auto">Would save a lot of time if this would be mentioned in a How To or in the documentation of the installation.</p>
<p dir="auto">Bye<br />
Heimo</p>
]]></description><link>https://forum.netxms.org/post/16839</link><guid isPermaLink="true">https://forum.netxms.org/post/16839</guid><dc:creator><![CDATA[Toepfe]]></dc:creator><pubDate>Tue, 12 May 2015 12:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to connect to database on Mon, 11 May 2015 13:35:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi Everybody,</p>
<p dir="auto">I'm new in this Forum and would like to take a look at NetXMS.</p>
<p dir="auto">Unfortunately I'm not able to get it to work under Windows 7 with MS SQL Express 2008 R2 SP2 (both 64-bit on the same pc). I would like to create a new database within the installation process and get the message:</p>
<p dir="auto">"Unable to connect to database: [Microsoft][SQL Server Native Client 10.0][SQL Server]Fehler bei der Anmeldung für den Benutzer 'sa'."</p>
<p dir="auto">I'm able to connect to the SQL instance with sqlcmd via user 'sa'. Named pipes and TCP/IP are enabled as recommended by Victor. I have tried it with Netxms v. 1.2.17-x64 and 2.0-M4-x64, with the same problem.</p>
<p dir="auto">Did anyone here run Netxms with MS SQL Server under Windows and was able to install it with the standard installation process of Netxms?</p>
<p dir="auto">Bye<br />
Heimo</p>
]]></description><link>https://forum.netxms.org/post/16828</link><guid isPermaLink="true">https://forum.netxms.org/post/16828</guid><dc:creator><![CDATA[Toepfe]]></dc:creator><pubDate>Mon, 11 May 2015 13:35:31 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to connect to database on Thu, 18 Dec 2014 22:57:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">open SQL Server Configuration Manager, choose SQL Server Network Configuration &gt; Protocols for {instance} and ensure Named Pipes is enabled. Alternatively, try to enable TCP/IP and change DBServer parameter to IP address of SQL server.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15561</link><guid isPermaLink="true">https://forum.netxms.org/post/15561</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 18 Dec 2014 22:57:15 GMT</pubDate></item></channel></rss>