Difference between revisions of "Server Installation Guide"
→Installing NetXMS Server on UNIX
(→Installing NetXMS Server on UNIX: removed obsolete option) |
|||
Line 79: | Line 79: | ||
6. Create Database and User with access rights to this database. Below is an example for MySQL: | 6. Create Database and User with access rights to this database. Below is an example for MySQL: | ||
$ mysql - | $ mysql -u root -p mysql | ||
mysql> CREATE DATABASE netxms; | mysql> CREATE DATABASE netxms; | ||
mysql> GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'PaSsWd'; | mysql> GRANT ALL ON netxms.* TO netxms@localhost IDENTIFIED BY 'PaSsWd'; | ||
mysql> \q | mysql> \q | ||
Line 90: | Line 90: | ||
7. Modify server configuration file (default is /etc/netxmsd.conf). It should look the following way: | 7. Modify server configuration file (default is /etc/netxmsd.conf). It should look the following way: | ||
DBDriver = | DBDriver = /usr/local/lib/libnxddr_mysql.so | ||
DBServer = localhost | DBServer = localhost | ||
DBName = netxms | DBName = netxms | ||
Line 106: | Line 106: | ||
| CodePage || Server's code page. Default value depends on your system, usually ISO8859-1. You should change it if you plan to use national characters in object names, comments, etc. This parameter will have no effect if server was compiled without iconv support. | | CodePage || Server's code page. Default value depends on your system, usually ISO8859-1. You should change it if you plan to use national characters in object names, comments, etc. This parameter will have no effect if server was compiled without iconv support. | ||
|- | |- | ||
| DBDriver || Database driver to be used. You can use one of the following drivers: | | DBDriver || Database driver to be used. You can use one of the following drivers (Windows): | ||
* mysql.ddr Driver for MySQL database. | * mysql.ddr Driver for MySQL database. |