nxdbmbr bug?
-
seems a bug in nxdbmbr yet exists.
- https://www.netxms.org/forum/general-support/database-export-failed-gt-v-1-2-0-error-cannot-load-schema-file-windows-2008-r2/
- https://www.netxms.org/forum/general-support/export-cannot-load-schema-file
i'm use mysql
this not work
C:\NetXMS_new\bin>nxdbmgr export c:\netxmsbase.sql NetXMS Database Manager Version 1.2.0 ERROR: cannot load schema file "C\lib\sql\dbschema_sqlite.sql" Database export failed.and this not work too
C:\NetXMS_new\bin>nxdbmgr export c:/net.sql -c c:\netxms_new\etc\netxmsd.conf NetXMS Database Manager Version 1.2.0 ERROR: cannot load schema file "C\lib\sql\dbschema_sqlite.sql" Database export failed.if i create path "C\lib\sql\", it not work again.
-
i'm use this way
on old srv (win)
mysqldump my_database --user=username --password=my_password > my_base.sqlon new srv (freebsd)
mysql -u username -pPassword USE My_base SOURCE MY_base.sql exit; nxdbmgr update nxdbmgr checkbut it didn't work
:26:53] Log file opened :26:53] Platform subagent "/usr/local/lib/libnsm_freebsd.so" successfully loaded :26:53] Database driver "mysql.ddr" loaded and initialized successfully :26:53] Data directory "C:\NetXMS_new\NetXMS\var" does not exist or is inaccessiblehow i can fix this? It old setting in database (
-
Hi!
Add parameter DataDirectory = path to your netxmsd.conf. It should override setting in database.
Best regards,
Victor -
@victor said in nxdbmbr bug?:
Hi!
Add parameter DataDirectory = path to your netxmsd.conf. It should override setting in database.
Best regards,
Victorthank, it works.
Maybe need add some ability in nxdbmgr?
-reset config in database? or overwrite
-reset account? -
Yes, it could be useful. I'll add it as low priority feature request.
Best regards,
Victor
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