Code: Select all
<?php
$link = mysql_connect('xxx.xxx.52.140:3306', 't321', 't321');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
Now 'cannot connect to database' error
I can manage my database with PHPAdmin 2.11
Changing database passwords does not make a difference
Server IIS 7.0 64 bit; MySQL and PHP 32 bit
Wouter