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. ERROR LOAD DATABASE MYSQL

ERROR LOAD DATABASE MYSQL

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 37.4k 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.
  • G
    G
    gpd
    wrote on last edited by
    #1

    Hello,

    We are not able to upload the mysql database versio 8.0.26, SO Red Hat Linux 8.2, it shows the error:

    Unable to load database driver module "mysql.ddr": libmysqlclient.so.21: cannot open shared object file: No such file or directory.

    Below is the debug log:

    [root@vmnetxms bin]# ./netxmsd -D9
    Using configuration file "/etc/netxmsd.conf"
    2021.09.01 15:45:18.795 *D* [                  ] LIB directory set to /produtos/netxms/lib/netxms
    2021.09.01 15:45:18.795 *I* [                  ] Code page set to ISO8859-1
    2021.09.01 15:45:18.797 *D* [dload              ] DLOpen: file="/produtos/netxms/lib/netxms/linux.nsm", module=0x1285250
    2021.09.01 15:45:18.797 *D* [dload              ] DLGetSymbolAddr: module=0x1285250, symbol=__NxSubAgentGetIfList, address=0x7f16158117a0
    2021.09.01 15:45:18.797 *D* [dload              ] DLGetSymbolAddr: module=0x1285250, symbol=__NxSubAgentGetArpCache, address=0x7f16158117d0
    2021.09.01 15:45:18.797 *I* [                  ] Platform subagent "/produtos/netxms/lib/netxms/linux.nsm" successfully loaded
    2021.09.01 15:45:18.797 *D* [dload              ] DLOpen: file="/produtos/netxms/lib/netxms/dbdrv/mysql.ddr", module=(nil)
    2021.09.01 15:45:18.797 *E* [db.drv            ] Unable to load database driver module "mysql.ddr": libmysqlclient.so.21: cannot open shared object file: No such file or directory

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Was netxms compiled? Try adding --with-mysql to ./configure command. There's also ./configure --help that might be helpful.

      1 Reply Last reply
      0
      • G
        G
        gpd
        wrote on last edited by
        #3

        Hi Sudanov.

        Yes, it was compiled with the following commands :

        ./configure --prefix=/produtos/netxms --with-server --with-mysql --with-agent --disable-ssh --disable-mqtt

        ./make install -I /produtos/netxms

        ./make -I /produtos/netxms

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          Try installing mysql-libs package.

          Also, it could be easier to use Debian or Ubuntu, as we provide packages for these systems.

          1 Reply Last reply
          0
          • G
            G
            gpd
            wrote on last edited by
            #5

            hello,

            Sudanov

            It worked . Thanks ...

            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