/* Please input your sql-connection correctly
Made by Nitti
*/
$sqlHost = 'localhost';
$sqlUser = 'root';
$sqlPass = '';
// Please don't change anything below
mysql_connect($sqlHost, $sqlUser, $sqlPass) or die('Could not connect to the mysqlserver ('.mysql_error().')');
mysql_select_db('db_nit')
;
结果
致命错误:在第 13 行调用 C:\UwAmp\www\admin\php\connectDb.php 中未定义的函数 mysql_connect()
我正在使用`
Apache 2.2.24(带有 SSL) MySQL 5.6.11 PHP(5.3.25 / 5.4.15)带有 Xdebug 2.2.0 PHPMyAdmin 4.0.2
`