ERROR LOAD DATABASE MYSQL
-
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 -
Was netxms compiled? Try adding --with-mysql to ./configure command. There's also ./configure --help that might be helpful.
-
-
Try installing mysql-libs package.
Also, it could be easier to use Debian or Ubuntu, as we provide packages for these systems.
-
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