Warning: mysql_connect(): No connection could be made because the target machine actively refused it. in C:\AppServ\www\chat\index.php on line 10

Warning: mysql_select_db(): No connection could be made because the target machine actively refused it. in C:\AppServ\www\chat\index.php on line 11

Warning: mysql_select_db(): A link to the server could not be established in C:\AppServ\www\chat\index.php on line 11

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\AppServ\www\chat\index.php on line 17

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\AppServ\www\chat\index.php on line 18

Warning: mysql_query(): No connection could be made because the target machine actively refused it. in C:\AppServ\www\chat\index.php on line 19

Warning: mysql_query(): A link to the server could not be established in C:\AppServ\www\chat\index.php on line 19

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\AppServ\www\chat\index.php on line 20