Have problems with connecting to mysql database. Check my script:
<?php
// Connects to your Database
// we connect to 'easyfind.zxq.net and port 21
$link = mysql_connect('easyfind.zxq.net:21', 'easyfind_zxq', 'passwd');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
easyfind.zxq.net=Host address, 'easyfind_zxq'=user name to server, 'passwd'=passwd to server
I get the fail mess: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'easyfind_zxq'@'192.168.1.1' (using password: YES) in /www/zxq.net/e/a/s/easyfind/htdocs/logg.php on line 4
Could not connect: Access denied for user 'easyfind_zxq'@'192.168.1.1' (using password: YES)
Dont understand this!!
