Bùi Hải Thanh
(thanhbh)
New Member
Ti`m ba(`ng google ma~i kho^ng ddu+o+.c, ho?i luo^n dda^y cho nhanh, ai co' nha~ y' thi` tra? lo+`i ho^. ca'i:
Co' 1 ma'y cha.y Debian, Apache + PhP & MySQL support, nhu+ng khi dda(.t le^.nh connect va`o MySQL tu+` PhP script thi` no' ba'o lo^~i kho^ng connect ddu+o+.c, y' la` no' kho^ng nha^.n ra MySQL username, hostname va` password mi`nh pass trong le^.nh
<?php
$db= mysql_connect(mysql_hostname, mysql_username, password);
?>
Vi` kho^ng nha^.n ra ne^n username, hostname bi. ma(.c ddi.nh la` cu?a he^. ddie^`u ha`nh.
Va^.y pha?i ddo^?i ca'i gi` va` o+? dda^u\?
Ca?m o+n nhie^`u
/Thanh
Co' 1 ma'y cha.y Debian, Apache + PhP & MySQL support, nhu+ng khi dda(.t le^.nh connect va`o MySQL tu+` PhP script thi` no' ba'o lo^~i kho^ng connect ddu+o+.c, y' la` no' kho^ng nha^.n ra MySQL username, hostname va` password mi`nh pass trong le^.nh
<?php
$db= mysql_connect(mysql_hostname, mysql_username, password);
?>
Vi` kho^ng nha^.n ra ne^n username, hostname bi. ma(.c ddi.nh la` cu?a he^. ddie^`u ha`nh.
Va^.y pha?i ddo^?i ca'i gi` va` o+? dda^u\?
Ca?m o+n nhie^`u
/Thanh