安装PHPBB论坛的问题!

安装PHPBB论坛的问题!

装完RH 9后,选择了所有更新。
但安装PHPBB论坛时出错:
安装过程中发生错误
您服务器上的 php 设置不支持您选择的类型的数据库。
那你现在使用的是什么数据库呢?
我的故障现象与楼主一样,我用的数据库是mysql-standard-4.0.13-pc-linux-i686.tar.gz
[code:1]首先启动MySQL:

# /etc/rc.d/init.d/mysql start

如果一切正常,你将看到以下的信息出现:

Starting mysqld daemon with databases from /var/lib/mysql

如果你安装的是RPM包,那么程序大都安装在/usr/local/mysql/bin。在此目录下运行客户端程序:

# mysql

然后你可以看到屏幕显示出以下信息:

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 2 to server version: 3.22.21

Type 'help' for help.

mysql>

接着,用show databases命令可以将安装的数据库列出来:

mysql> show databases;

你就可以看到:

+----------+

| Database |

+----------+

| mysql |

| test |

+----------+

2 rows in set (0.00 sec)

如果一切正常的话,那说明MySQL可以完全工作了!恭喜你!如果要退出程序,输入:exit

mysql> exit;

Bye
[/code:1]
我的就是这样的。。。
那你安装PHPBB2时候选择的是MySQL吗?
是呀
我的故障现象与楼主一样。

问题一:
我启动Mysql时,如下输入:
[root@linuxiae bin]# ./mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

如下输入:
[root@linuxiae bin]# ./mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.0.13-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+----------+
| Database |
+----------+
| mysql    |
| nuke     |
| test     |
+----------+
3 rows in set (0.10 sec)

mysql> use nuke
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql>


这两种结果不一样,是正常的吗?我看到很多的资料都是输入
./mysql
即可看到第二种的显示(你上面也是这样的)。


问题二:
我在安装phpnuke时,解压后的html目录中,有config.php这个文件,资料上说要对它作相应的编辑...可config.php是空的,一个字也没有。我按资料上所提到的内容输入,存盘退出后,phpnuke的安装仍不能进行下去。
望指点,谢谢。
我还在有关资料上看到:
安装PHP:

......

./configure --with-mysql=/usr/local/mysql --with-apache=../apache_x
文字说明是:以内嵌模块方式编译,并为PHP提供存取mysql数据库的功能....

要解决phpbb的安装问题,是不是要重新如上编译php?
About the error you got
引用:
[root@linuxiae bin]# ./mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
There are a few possibilities; you:

1. Didn't tell mysql to prompt you for the password. Try starting it like this:

     mysql -u uname -p(Remember to replace "username" with the MySQL uname assigned by your administrator.)

2. Supplied the wrong password. (Usernames and passwords are case-sensitive.)

3. Don't have access. Contact your administrator for more assistance.

Warning: While it's possible to specify your password while starting the mysql utility, we strongly recommend against doing so. If you do so, it's very possible your password can then be viewed by others using your system. Consider, for example, the w command, which (among other things) displays the command you're executing--along with any parameters used to start it.