ubuntu installation with mysql

Started by ChrisM, March 13, 2025, 11:01:34 PM

Previous topic - Next topic

ChrisM

After updating netxms, the service would not load.
i noticed the mysql.ddr file is missing in the /usr/lib/x86_64-linux-gnu/netxms/dbdrv directory.

I tried to reinstall Netxms with the command: 
    apt-get install netxms-server netxms-dbdrv-mysql 

This resulted in an error the netxms-dbdrv-mysql had no  installation candidate.

I then tried  netxms-dbdrv-mysql-dbg, this installed but did not work.

I tried building NetXMS on a new fresh server with the same results.

Not sure if the new compiled version is missing the mysql package?


Alex Kirhenshtein

use netxms-dbdrv-mariadb instead, it's compatible

ChrisM

Great advice Alex, that worked Thank you!

For others reference I ran the command:

apt-get install netxms-server netxms-dbdrv-mariadb
Then changed my /etc/netxmsd.conf to reference mariadb (replaced mysql on line DBDriver)
Restarted the netxmsd service and now all running