|
准备做页面性能测试,看到论坛里的Yslow+showslow不错。
我用的是MySQL3.2.4,tabels.sql表已经导入了,可是打开http://localhost:90/showslow 还是不能显示。(apche端口我改成90了)。
页面信息:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'showslow'@'localhost' (using password: YES) in E:\xampp\htdocs\showslow\global.php on line 847
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in E:\xampp\htdocs\showslow\global.php on line 848
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in E:\xampp\htdocs\showslow\global.php on line 848
Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'showslow'@'localhost' (using password: YES) in E:\xampp\htdocs\showslow\users_config.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\showslow\global.php:847) in E:\xampp\htdocs\showslow\users\CookieStorage.php on line 151
Fatal error: Call to undefined function Exception() in E:\xampp\htdocs\showslow\users\User.php on line 50
config.php内容:
$showslow_root = '/path/to/showslow/root/';
$showslow_base = 'http://www.example.com/showslow/'; # don't forget the trailing slash
$baseAssetURL = $showslow_base; # that's base URL for the static assets (images, CSS, JS)
# Database connection information
$db = 'showslow';
$user = 'root';
$pass = '123456';
$host = 'localhost';
$sessionSecret = '...................................................';
请问我还需要配置什么啊 |
|