How to use MSSQL on ADMS

Transcription

How to use MSSQL on ADMS
How to use MSSQL on ADMS
Dear friends,
Thank you for using our product. 
When you need MSSQL database in ADMS, please check the following information.
Make sure there is no zktime8.0, zkaccess5.0 installed in your PC, please
uninstall this 2 kind software first, and restart PC, then install the ADMS.
Make sure your ADMS version is V3.1-155-mssql, right now only this version
support MSSQL, it support MySQL as well.
If your software isn’t same as V3.1-***-mssql,please re-install the software:
1) stop iclock-data server
2)
3)
4)
5)
6)
a)
uninstall adms software
restart PC
delete the folder where the adms install in, like “*:\iclocksvr\”
install the V3.155-mssql version.
restart PC
Change the database
1. Open the ADMS installation dictionary, find out the "iclocksvr\attsite.ini" file
2. Then open the "attsite.ini" file by TXT , then please change some settings like
below then save it
The database needs to create in MSSQL first.
The port of MSSQL is 1433 as default value.
The host name, local ip:HOST=127.0.0.1
3. execute the ‘*\iclocksvr\db.dat’ (if window7 OS, run it with Administrator
purview)
if it shows the following error, it mean ADMS can’t connect to database, please check
the setting in attsite.ini, always cause by the host name.
Please try change the HOST name in steps 2
HOST=127.0.0.1
HOST=192.168.1.139\SQLEXPRESS //PC ip&SQLEXPRESS, it base on the MSSQL version
If all successfully,it will create table for the tables of database automatically,in the
middle,it will ask to create a user,that is use for ADMS log in.
After above operation,please restart the iclock server.
If you want to change the database back to MySQL, please set the attsite.ini config
like this:
And then restart the webserver Manager.