en:developer:mssql
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:developer:mssql [2023/03/13 01:46] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
+ | ======Using MS-SQL as collection database====== | ||
+ | |||
+ | Tested Environment: | ||
+ | |||
+ | Tested MS-SQL installation: | ||
+ | |||
+ | Tested C++ Compiler: Microsoft Visual C++ 2008 Express Edition | ||
+ | | ||
+ | ====Build time setup==== | ||
+ | * Modified files | ||
+ | * perllib/ | ||
+ | * Installation requirements | ||
+ | * Microsoft SQL server 2005 | ||
+ | * Microsoft SQL server 2005 Manager | ||
+ | * Microsoft Visual C++ 2008 Express Edition | ||
+ | * Active Perl | ||
+ | * Perl Module required: DBD:ADO. To install DBD:ADO manually: | ||
+ | * make sure ActivePerl is installed | ||
+ | * Make sure Visual C++ is installed | ||
+ | * Go to CPAN and download the source package | ||
+ | * Untar it and run Makefile.PL | ||
+ | * Run " | ||
+ | * Database creation: We need to create database manually, use the Manager and create a database. You can basically call it anything you like You will need to set this database name in the dbutil.pm | ||
+ | * Configuration for the dbutil.pm: Open the dbutil.pm file and search for the following lines | ||
+ | < | ||
+ | my $host = " | ||
+ | my $user = " | ||
+ | my $pwd = "[When installing the MSSQL, you will be asked to input a password for the sa user, use that password]"; | ||
+ | my $database = " | ||
+ | </ | ||
+ | |||
+ | * $host: Go to [Programs]=> | ||
+ | * $user and $pwd: When installing the " | ||
+ | * $database: Set it to whatever database you have created. Uncomment the following lines to enable DBD:ADO; | ||
+ | < | ||
+ | use DBI; | ||
+ | use DBD::ADO; | ||
+ | Win32:: | ||
+ | </ | ||
+ | * collect.cfg configuration: | ||
+ | * Additional information: | ||
+ | |||
+ | ====Runtime setup==== | ||
+ | |||
+ | * Modified files | ||
+ | * win32.mak | ||
+ | * runtime-src/ | ||
+ | * runtime-src/ | ||
+ | * runtime-src/ | ||
+ | * common-src/ | ||
+ | * common-src/ | ||
+ | * common-src/ | ||
+ | * common-src/ | ||
+ | * msado: Make sure you have C:\Program Files\Common Files\System\ado\msado27.tlb If not, edit the mssqldbclass.h to use C:\Program Files\Common Files\System\ADO\msado15.dll instead | ||
+ | * Build the system: In GSDLHOME, do nmake /f win32.mak USE_MSSQL=1< | ||
+ | |
en/developer/mssql.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1