LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 628|回复: 1

安装vBulletin 3.5.1 中文版时出错???

[复制链接]
发表于 2005-11-10 18:06:37 | 显示全部楼层 |阅读模式
我在PHP5.0.5+MYSQL4.1.14 环境下安装vBulletin 3.5.1 中文版时到第三步有以下出错提示:
-----------------------------------------------------------------------
vBulletin  数据库错误:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: SQL safe mode in effect - ignoring host/user/password information
/home/sllo/www/includes/class_core.php on line 271

------------------------------------------------------------------------

怎么解决呢?


vbbbase已在mysql里建立,
用root用户建立一个本地用户sllo@localhost,没密码.

我的config.php文件如下:
-----------------------------------
<?php


$config['Database']['dbtype'] = 'mysql';
$config['Database']['dbname'] = 'vbbbase';
$config['Database']['tableprefix'] = '';
$config['Database']['technicalemail'] = 'webmaster@localhost';
$config['Database']['force_sql_mode'] = false;
$config['Database']['charset'] = 'latin1';
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
$config['MasterServer']['username'] = 'sllo';
$config['MasterServer']['password'] = '';
$config['MasterServer']['usepconnect'] = 0;
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;

$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';

$config['Misc']['cookieprefix'] = 'bb';

$config['Misc']['forumpath'] = '';

$config['SpecialUsers']['canviewadminlog'] = '1';

$config['SpecialUsers']['canpruneadminlog'] = '1';

$config['SpecialUsers']['canrunqueries'] = '';

$config['SpecialUsers']['undeletableusers'] = '';

$config['SpecialUsers']['superadministrators'] = '1';

$config['Mysqli']['ini_file'] = '';

$config['Misc']['debug'] = false;
?>

------------------------------------------------------------------------------------------------------------


:confused:
 楼主| 发表于 2005-11-11 13:08:11 | 显示全部楼层
又遇到一个问题????

--------------------------------------------------------------

vBulletin  数据库错误:

Invalid SQL:
SHOW FIELDS FROM user;

错误信息: Table 'vbbbase.user' doesn't exist
错误编号: 1146
时间: Friday, November 11th 2005 @ 12:42:20 PM
脚本: http://192.168.166.64/install/install.php?step=2
引用地址: http://192.168.166.64/install/install.php?step=1
IP 地址: 192.168.166.64
用户名称:
类: vB_Database

----------------------------------------------------------------

不明白??mysql里已建了vbbbase库了,只不只过里面还没表而已。


谢谢!!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表