Warning: mysql_connect(): Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.27-log in /home/imagamo/www/inc/opendb.php on line 11

Warning: mysql_connect(): Connecting to 3.22, 3.23 & 4.0 servers is not supported in /home/imagamo/www/inc/opendb.php on line 11
I cannot connect to the database.