Sie sind auf Seite 1von 14

SPS for Windows XP (Installation Procedure) 1. Copy the file given in the CD (ekpdefaultdb.sql & sps_32bit_windows.

zip) to root C:\

2. Extract the file sps_32bit_windows.zip, so we can access the file inside.

3. Now, install the mysql downloaded from here http://www.mysql.com/downloads/mysql/.

4.Click Next when prompted.

5. Create a password (Recommended: sps), then click next.

Finish!

6. After finish installing MySQL, we have to change configuration of sps web. Located inside the folder of sps that we extract before. C:\sps_32bit_windows\web\WEB-INF\conf

Here, change the user from sps to root. And alter this line to ekpdefaultdb349 //this is the database that we created before <url>jdbc:mysql://localhost/ekpdefaultdb349?autoReconnect=true&amp;useOldUTF8Behavior=true &amp;useUnicode=true&amp;characterEncoding=UTF-8</url>

7. Open the mysql command line client, and enter the password.

8. So, we will now show the default database given and then create a new database named ekpdefaultdb. Type this to the command line: mysql> show databases; //this command is use to show the default database given //create a new database named ekpdefaultdb349

mysql> create database ekpdefaultdb349; mysql> show databases;

//view the new database created (ekpdefaultdb349)

Buka CMD 9. Open the command line prompt, and type the following: cd C:\Program Files\MySQL\MySQL Server 5.1\bin

mysql uroot psps ekpdefaultdb349 < C:\ekpdefaultdb.sql

10.We will now check the database that has been transferred, whether its correct or not. Using the following command at MySQL command line client. mysql> use ekpdefaultdb349; mysql> select * from cam_school;

11. Run the bat file inside the sps folder.

12. If everything installed correctly, we should be able to see an SPS system at the browser when type http://localhost:9080/ at the url. Default username and password is admin.

Das könnte Ihnen auch gefallen