免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2170 | 回复: 4
打印 上一主题 下一主题

我在安装phpbb的时候遇到了这个问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-06 13:00 |只看该作者 |倒序浏览
Warning: mysql_connect(): Access denied for user: 'killer813@localhost' (Using password: YES) in C:\Program Files\Apache Group6\Apache2\htdocs\phpBB2\db\mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Apache Group6\Apache2\htdocs\phpBB2\db\mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Apache Group6\Apache2\htdocs\phpBB2\db\mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
如何才能安装上呢?

论坛徽章:
0
2 [报告]
发表于 2003-12-06 14:12 |只看该作者

我在安装phpbb的时候遇到了这个问题

连接数据库的信息不正确。检查config.php是否有如下信息,且与你的实际情况相符。
=======================================
$dbms = 'mysql4';

$dbhost = 'localhost';
$dbname = '数据库名称';
$dbuser = '能连接上面数据库的用户';
$dbpasswd = '数据库密码';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);
===================================

论坛徽章:
0
3 [报告]
发表于 2003-12-07 06:23 |只看该作者

我在安装phpbb的时候遇到了这个问题

实在phpbb2里的那个config吗?那个文件是空的

论坛徽章:
0
4 [报告]
发表于 2003-12-07 13:35 |只看该作者

我在安装phpbb的时候遇到了这个问题

Sorry I'm in Malaysia netbar, so couldn't input the Chinese here. If you could understanding the following reply, I think it's no need to use the BBS which wrote in php and need mysql, for most material about PHP and mysql was written in English.

I've met the same problem. And I solved it by configure the mysql in right way.

In fact the error message shows you the problem is about that the login need password, but your mysql server refused the passwd. So you need re-config the mysql as the INSTALL file in the /usr/local/mysql folder very carefully. If I am not wrong you need to run './bin/mysql -u root newpasswd' to change the initial passwd and make the mysql ask passwd ervry time when some user login, which the way php or perl need to be. The './bin/mysql -u root newpasswd' was runing after the
shell>; ./scripts/mysql_install_db
shell>; ./bin/mysqld_safe &
I think you could find the detail information in INSTALL file,  do exactly as it describ.
And maybe it's same to the mysql Windows version.
Try it and good luck.

论坛徽章:
0
5 [报告]
发表于 2003-12-19 14:55 |只看该作者

我在安装phpbb的时候遇到了这个问题

我开始写的IP,试了好多次都不行,后来数据库服务器名改成localhost就OK了~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP