Thanks for that:-
Now I have the following error
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /www/sites/6b5/4c4/web/catalog/includes/functions/database.php on line 19
Unable to connect to database server!
On Database is the following....
if (USE_PCONNECT == 'true') {
$$link = mysql_pconnect($server, $username, $password);
} else {
$$link = mysql_connect ($server, $username, $password);
}
i would be grateful if you can help