51Testing软件测试论坛

标题: 自己配置的Showslow不成功,强力人士进来帮我看看呗 [打印本页]

作者: halfhuman    时间: 2010-11-25 09:49
标题: 自己配置的Showslow不成功,强力人士进来帮我看看呗
准备做页面性能测试,看到论坛里的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 = '...................................................';

请问我还需要配置什么啊
作者: halfhuman    时间: 2010-11-25 10:25
问了一下研发,好厉害的哥们~5秒钟解决问题~
$host = 'localhost';  这行写错了,改成
$host = '.';
貌似是mysql的bug~~
作者: 小米啊    时间: 2010-11-25 13:46
学习了哈哈




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2