E:\Bugzilla>perl checksetup.pl
Found = in conditional, should be == at checksetup.pl line 1219.
Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.52
Checking for CGI (v2.93) ok: found v3.04
Checking for Data::Dumper (any) ok: found v2.121
Checking for Date::Format (v2.21) ok: found v2.22
Checking for DBI (v1.32) ok: found v1.34
Checking for DBD::mysql (v2.1010) ok: found v2.1026
Checking for File::Spec (v0.82) ok: found v0.87
Checking for File::Temp (any) ok: found v0.14
Checking for Template (v2.08) ok: found v2.13
Checking for Text::Wrap (v2001.0131) ok: found v2001.09291
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.12
Checking for Chart::Base (v0.99) ok: found v2.4.1
Checking for XML::Parser (any) ok: found v2.34
Checking for GD::Graph (any) ok: found v1.4307
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (any) ok: found v0.9.2
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
[Thu May 18 16:40:00 2006] checksetup.pl: DBI connect(';localhost;3306','bugs',.
..) failed: Client does not support authentication protocol requested by server;
consider upgrading MySQL client at checksetup.pl line 1332
<h1>Software error:</h1>
<pre>Can't connect to the mysql database. Is the database installed and
up and running? Do you have the correct username and password selected in
localconfig?
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
</p>
[Thu May 18 16:40:00 2006] checksetup.pl: Can't connect to the mysql database. I
s the database installed and
[Thu May 18 16:40:00 2006] checksetup.pl: up and running? Do you have the corre
ct username and password selected in
[Thu May 18 16:40:00 2006] checksetup.pl: localconfig?
[Thu May 18 16:40:00 2006] checksetup.pl:作者: nyyjy010 时间: 2006-5-18 17:23
我的localconfig配置文件:
$index_html = 1;
#
# In order to do certain functions in Bugzilla (such as sync the shadow
# database), we require the MySQL Binaries (mysql, mysqldump, and mysqladmin).
# Because it's possible that these files aren't in your path, you can specify
# their location here.
# Please specify only the directory name, with no trailing slash.
$mysqlpath = "c:\\mysql\\bin";
#
# For some optional functions of Bugzilla (such as the pretty-print patch
# viewer), we need the cvs binary to access files and revisions.
# Because it's possible that this program is not in your path, you can specify
# its location here. Please specify the full path to the executable.
$cvsbin = "";
#
# For some optional functions of Bugzilla (such as the pretty-print patch
# viewer), we need the interdiff binary to make diffs between two patches.
# Because it's possible that this program is not in your path, you can specify
# its location here. Please specify the full path to the executable.
$interdiffbin = "";
#
# The interdiff feature needs diff, so we have to have that path.
# Please specify only the directory name, with no trailing slash.
$diffpath = "";
#
# If you are using Apache for your web server, Bugzilla can create .htaccess
# files for you that will instruct Apache not to serve files that shouldn't
# be accessed from the web (like your local configuration data and non-cgi
# executable files). For this to work, the directory your Bugzilla
# installation is in must be within the jurisdiction of a <Directory> block
# in the httpd.conf file that has 'AllowOverride Limit' in it. If it has
# 'AllowOverride All' or other options with Limit, that's fine.
# (Older Apache installations may use an access.conf file to store these
# <Directory> blocks.)
# If this is set to 1, Bugzilla will create these files if they don't exist.
# If this is set to 0, Bugzilla will not create these files.
$create_htaccess = 1;
#
# This is the group your web server runs on.
# If you have a windows box, ignore this setting.
# If you do not have access to the group your web server runs under,
# set this to "". If you do set this to "", then your Bugzilla installation
# will be _VERY_ insecure, because some files will be world readable/writable,
# and so anyone who can get local access to your machine can do whatever they
# want. You should only have this set to "" if this is a testing installation
# and you cannot set this up any other way. YOU HAVE BEEN WARNED.
# If you set this to anything besides "", you will need to run checksetup.pl
# as root, or as a user who is a member of the specified group.
$webservergroup = "8";
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugs"; # name of the MySQL database
$db_user = "bugs"; # user to attach to the MySQL database
#
# Enter your database password here. It's normally advisable to specify
# a password for your bugzilla database user.
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a \ character. (\') or (\\)
#
$db_pass = '125428';
# Enter a path to the unix socket for mysql. If this is blank, then mysql's
# compiled-in default will be used. You probably want that.
$db_sock = '';
#
# Should checksetup.pl try to check if your MySQL setup is correct?
# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn't work)
#
$db_check = 1;
#
# Which bug and feature-request severities do you want?
#
@severities = (
"blocker",
"critical",
"major",
"normal",
"minor",
"trivial",
"enhancement"
);
#
# Which priorities do you want to assign to bugs and feature-request?
#
@priorities = (
"P1",
"P2",
"P3",
"P4",
"P5"
);
#
# What operatings systems may your products run on?
#
@opsys = (
"All",
"Windows 3.1",
"Windows 95",
"Windows 98",
"Windows ME", # Millenium Edition (upgrade of 98)
"Windows 2000",
"Windows NT",
"Windows XP",
"Windows Server 2003",
"Mac System 7",
"Mac System 7.5",
"Mac System 7.6.1",
"Mac System 8.0",
"Mac System 8.5",
"Mac System 8.6",
"Mac System 9.x",
"Mac OS X 10.0",
"Mac OS X 10.1",
"Mac OS X 10.2",
"Linux",
"BSD/OS",
"FreeBSD",
"NetBSD",
"OpenBSD",
"AIX",
"BeOS",
"HP-UX",
"IRIX",
"Neutrino",
"OpenVMS",
"OS/2",
"OSF/1",
"Solaris",
"SunOS",
"other"
);
#
# What hardware platforms may your products run on?
#
@platforms = (
"All",
"DEC",
"HP",
"Macintosh",
"PC",
"SGI",
"Sun",
"Other"作者: nyyjy010 时间: 2006-5-18 17:27
前提是mysql已启动,数据库中有bugs数据库与bugs用户名,且密码125428已经设置好,并把bugs用户指向bugs数据库,
5).正式安装Bugzilla
再次进入cmd.exe
D:\>cd Bugzilla
D:\>perl cheksetup.pl
如果一切顺利的话,系统提示创建Administrator的相关邮件(用户登陆名)、Realname、登陆密码等资料。最后,
如果成功,会提示
your@email is now set up as an administrator account.
Reminder: Bugzilla now requires version 8.7 or later of sendmail!
这就算是成功了!Good luck!!作者: unilobster2 时间: 2006-5-21 21:38
我安装的是Bugzilla-2.17.4,,mysql-4.1.18。