There was an error connecting to MySQL:
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 1260) line 3, <DATA>chunk 558.
at Bugzilla/DB.pm line 1284
This might have several reasons:
* MySQL is not running.
* MySQL is running, but there is a problem either in the
server configuration or the database access rights. Read the Bugzilla
Guide in the doc directory. The section about database configuration
should help.
* Your password for the 'bugs' user, specified in $db_pass, is
incorrect, in './localconfig'.
* There is a subtle problem with Perl, DBI, chaodiquan.com or MySQL. Make
sure all settings in './localconfig' are correct. If all else fails, set
'$db_check' to 0.有一个连接到MySQL的错误:
install_driver(MySQL的)失败:尝试重新加载DBD / mysql.pm中止。
编译失败,需要在(EVAL1260)3号线,<DATA>块558。
在Bugzilla的/ DB.pm线1284
这可能有以下几个原因:
* MySQL未运行。
* MySQL的运行,但有一个问题,无论是在
服务器配置或数据库的访问权限。阅读的Bugzilla
doc目录中的指南。关于数据库配置的部分
应该会有所帮助。
*您的密码“错误的用户,$ db_pass指定,
不正确,在'。/ localconfig'。
*用Perl DBI,或MySQL是一个微妙的问题。使
确定“。/ localconfig中的所有设置都是正确的。如果一切都失败,设置
'$ db_check'为0。
首先你要安装好mysql,并创建bugzilla数据库和管理该库的用户,然后运行checksetup.pl,就会生成localconfig文件,你在此文件中配置好以下几项,再重新执行checksetup.pl应该就可以了。$db_driver = 'mysql'
$db_host = 'localhost'
$db_name = 'bugzilla'(bugzilla数据库的名称)
.
$db_user = 'bugadmin'(管理该库的用户名,也可以是root)
$db_pass = 'bugpass'(用户密码)
$db_port = 3306(数据库端口)
$db_sock = ''
$db_check = 1
$index_html = 1
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)