Zdravim,
ve skriptu mam toto:
$db_host = 'mysql.webzdarma.cz';
$db_user = '....';
$db_pass = '....';
$connection = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
pokud se ale skript pokusim spustit, vyhodi mi to tuto hlasku:
mysql.webzdarma.cz
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /3w/wz.cz/x/xdrasha/index.php on line 25
Mate nekdo tuseni, cim by to mohlo byt?