mysql

PHP使用PDO链接Mysql

PHP 

$dsn="mysql:dbname=test;host=192.168.0.20;port=28336"; $db_user='test'; $db_pass='test'; //$db_user=$dbinfo['user']; /