Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Laurent on September 29, 2003, 10:47:54 PM

Title: MySQL problem
Post by: Laurent on September 29, 2003, 10:47:54 PM
Hi !

I m a (french:) linux newbie and i have big problems with MySQL. on sme v5.6
PHP works good but I can't connect to mysql ...
I know php - mysql on win32 i don't know linux ...

I tried this php script :
if($link = mysql_connect("localhost", "admin", "admin_pass")){
echo "connecte";
}else{
echo "error";
mysql_error();
}
?>
I tried root and admin acces but i cant connect ...

Can someone help me to config sme, php or mysql ...

Thanks