define('SVRATING', 'txt'); // change 'txt' with 'mysql' if you want to save rating data in MySQL
// HERE define data for connecting to MySQL database (MySQL server, user, password, database name)
put your database credentials and save your changes and change 'txt' with 'mysql'.
One final step is to direct your browser to the file named create_tables.php. On success, the script should create two database table to store ratings and day the items are rated.
It is my assumption that the script should work from this point and on.