Event calender not working

hello… i download the event calender

when i run the code it gives following error–>

Warning: mysql_connect() [function.mysql-connect]: Can’t connect to MySQL server on ‘localhost’ (10061) in C:\xampp\htdocs\EventCalender\classes\sqlconnect.php on line 16

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\EventCalender\classes\sqlconnect.php on line 17

Warning: mysql_query() [function.mysql-query]: Can’t connect to MySQL server on ‘localhost’ (10061) in C:\xampp\htdocs\EventCalender\classes\sqlconnect.php on line 22

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\EventCalender\classes\sqlconnect.php on line 22

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\EventCalender\classes\EventShow.php on line 35

how can i solv this?

The calendar requires a database connection, and so you’ll need to update the connection credentials (assumably in sqlconnect.php) in order to establish a successful connect.

how?

how to make that database connection…plz give me the database connection steps

[$server=‘localhost’;
$username=‘username’;
$password=‘password’;
$database=‘database’;
$this->con=mysql_connect($server,$username,$password);
$this->db=mysql_select_db($database,$this->con);

what i do???

You need to replace the values in that code above with the correct information for your database server - the username and password at the very least should be different, and will have been set up when you installed whatever server environment you’re using for testing.