Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. MSSQL Database connectivity problem

MSSQL Database connectivity problem

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 19.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    crusader
    wrote on last edited by
    #1

    I'm using mssql.ddr as driver.
    And I configured the "sa" user with a working password, at least it's working with the MS SQL Studio, within the netxmsd.conf.
    If I try to start netxmsd -D6 or try to initialise the db with nxdbmgr init <pathtoscript>\dbinit_mssql.sql I get the following error:

    NetXMS Database Manager Version 2.0-M2 Build 8009

    Unable to connect to database netxms@4c-monitor as sa: [Microsoft][SQL Server Na
    tive Client 10.0][SQL Server]Fehler bei der Anmeldung f³r den Benutzer 'sa'.

    Can someone help me to find a solution to this problem?

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Show us the netxmsd.conf please (feel free to remove sensitive info).

      1 Reply Last reply
      0
      • C
        C
        crusader
        wrote on last edited by
        #3

        This is the latest configured netxmsd.conf.
        Thank you for checking it up.

        #
        # NetXMS Server configuration file
        # Created by NetXMS Server configuration wizard at Sun Oct 12 23:02:38 2014
        #

        #LogFile = {syslog}
        LogFile = C:\netXMS\log\netxmsd.log
        DebugLevel = 6
        DBDriver = mssql.ddr
        DBServer = 4c-monitor
        DBName = netxms
        DBLogin = sa
        DBPasswort = XxxxxxxxxD
        #DBLogin = 4cgroup\4cs
        #DBPasswort = 4xxxxxxxx6
        LogFailedSQLQueries = yes
        #JavaPath=C:\NetXMS\bin\jre
        #JavaLibraryDirectory=C:\NetXMS\lib
        #JDBCDriver=C:\NetXMS\sqlite-jdbc-3.8.7.jar
        #JDBCUrl=jdbc:sqlite:C:/netxms/database/netxms_db

        1 Reply Last reply
        0
        • T
          T
          tomaskir
          wrote on last edited by
          #4

          First thing I would try is specify the DB server address as a FQDN.

          Let us know if that helped.

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            I see a typo in your config: DBPasswort - should be DBPassword.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • C
              C
              crusader
              wrote on last edited by
              #6

              Thank you both.
              It is working now.
              I guess the typo was preventing the initialisation.
              Sometimes solutions to a problem can be so simple 😉
              Thank you once again.

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups