HOME > PHP > PHP Forum > errors ของการ connection mysql Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in
errors ของการ connection mysql Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in
<?php
$ServerName="localhost";
$DatabaseName="dbctw";
$User="xxx";
$Password="xxx";
$Conn=mysql_connect($ServerName,$User,$Password) or die("ไม่สามารถติดต่อserverได้");
mysql_select_db($DatabaseName,$Conn) or die ("ไม่สามารถติดต่อ database ได้");