a have a lighttpd server with php5 and Mysql extension ... on my ubuntu desktop
The problem is when a php script is trying to connect sub.domain.com
it says
Code:
Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /var/-/www/settings/database.php on line 16
Cannot connect to database, check if username, password and host are correct.
in database.php i have
PHP Code:
$database="*";
$mysql_user = "user";
$mysql_password = "password";
$mysql_host = "mysql.*.ro";
$mysql_table_prefix = "x";
if i replace mysql.*.ro with localhost
is working more then better
what is wrong
in windows worked perfectly
thanks.
CyBerNe7