Posted on 2006-08-29 23:10
Jackei 阅读(5217)
评论(58) 编辑 收藏 网摘 所属分类:
18.开源技术 & 开源文化
把大象装进冰箱需要几步?^_^
不如我们还是来看看配置一个 Mantis 需要几步吧——只适合于 WINDOWS 平台。
1. 下载 EasyPHP;
2. 下载 Mantis;
3. 安装 EasyPHP;
4. 在 EasyPHP 的安装目录下找到 phpMyAdmin 目录,并 copy 到 EasyPHP 目录下的 WWW 目录中;
5. 解压缩 Mnatis 并 copy 到EasyPHP 目录下的 WWW 目录中;
6. 重启 EasyPHP;
7. 打开浏览器,在地址栏输入 http://localhost/ 或 http://127.0.0.1/ ,点击 Mantis 。
现在简单介绍一下 EasyPHP 和 phpMyAdmin。
EasyPHP 是一个完美的 APM (Apache/PHP/MySQL)组合。虽然它包含的Apache/PHP/MySQL都不是最新的版本,但是却是最稳定的版本,而且也可以保证一般的 PHP web 应用的正常运行。并且安装完成之后不需要自己再做任何配置,只需要把准备发布的 PHP 应用 copy 到 WWW 目录就可以了。
phpMyAdmin 是一个基于 web 的MySQL 管理工具,简单实用。
关于 EasyPHP、phpMyAdmin 和 Mantis 的更多详细信息,请通过下面的链接访问它们的官方网站。
http://easyphp.org/
http://www.phpmyadmin.net/
http://www.mantisbt.org/
Feedback
第 4 步并不是必须的,因为大多数 Mantis 的用户——甚至 Mantis 管理员并不需要对 MySQL 进行管理。
你好,能不能介绍再详细一点。我在使用中有以下疑问:
1. 在复制过程中,有提示要覆盖,请问是否需要;
2. 打开127.0.0.0后,没有mantis选项;
谢谢
@yw
1.你指的是复制 phpMyAdmin?如果提示,覆盖也不要紧。
2.是 127.0.0.1,不是127.0.0.0啊。另外,检查一下有没有解压缩 Mnatis 并 copy 到EasyPHP 目录下的 WWW 目录中。
安装不成功,出现错误,管理员用户名设成是admin是,说没有admin@local.com
如何解决
you ever tried AppServ + Mantis ?
i got the same error with deepinblue
after all the installation, type htttp://localhost/mantis in browser
then the error message below shows up:
-------------------------------------------
APPLICATION ERROR #400
Database connection failed. Error received from database was #1045: Access denied for user 'root'@'localhost' (using password: YES)
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
-------------------------------------------
any idea about that?
besides, i can connect mysql via command line
and my config_inc.php is like this:
-------------------------------------
$g_hostname = "localhost";
$g_db_username = "root";
$g_db_password = "zaq12wsx";
$g_database_name = "mantis";
$g_db_type = "mysql";
-----------------------------------------
@deepinblue
@bureau
在进入 Mantis 的 http://localhost/mantis-1.0.4/admin/install.php">http://localhost/mantis-1.0.4/admin/install.php 页面后,需要输入的数据库账号和密码都必须是已经在数据库中存在的账号和密码,并且要具有创建数据库的权限。我在这里输入的 Username (for Database) 以及 Admin Username (to create Database) 都是默认的 root 账号,密码也填入与 root 账号相对应的密码。
默认的用户名和密码是administrator root
本机可以了
但远程如何访问呢 我将地址中的127.0.0.1改成了该机器的IP 可远程无法访问
@Edith
最近有位朋友也遇到类似的问题。
请修改一下 %EasyPHP_Install_dir%\apache\conf\httpd.conf 文件,找到 Listen 127.0.0.1:80,修改为 Listen 0.0.0.0:80 以后重启 EasyPHP 服务就可以了。
我按照你的方法做出来了。。很好很方便 。。。但是我现在不知道怎么登录 。有默认安装的用户名和密码吗?
还有怎么创建用户。 界面是英文的可以改成中文吗 ?
不好意思。。。默认密码和用户我知道了。。。刚才仔细看了下你的文章。。。现在 就想让他变成中文。。。应该怎么做 ?
搞定了 嘿嘿。。在里面可以设置的。。还是非常感谢你
本机可以了
但远程如何访问呢 我将地址中的127.0.0.1改成了该机器的IP 可远程无法访问
@Edith
最近有位朋友也遇到类似的问题。
请修改一下 %EasyPHP_Install_dir%\apache\conf\httpd.conf 文件,找到 Listen 127.0.0.1:80,修改为 Listen 0.0.0.0:80 以后重启 EasyPHP 服务就可以了。
为了这个该死的问题,搞了整整一个下午。再次测试中... ...
没什么装机的经验,很让人失望的是,输入http://localhost/mantis/ 报告以下,不知道是怎么搞的了
Warning: main(d:\easyphp1-8\www\mantis\config_inc.php): failed to open stream: No such file or directory in d:\easyphp1-8\www\mantis\core.php on line 44
Fatal error: main(): Failed opening required 'd:\easyphp1-8\www\mantis\config_inc.php' (include_path='.;d:/EasyPHP1-8\php\pear\') in d:\easyphp1-8\www\mantis\core.php on line 44
@yanleo
你先输入 http://localhost/" target="_new">http://localhost/ 看看,能否看到可用应用的列表,然后再点击 Mantis 进入。
继续报错~
SYSTEM WARNING: mysql_connect(): Access denied for user 'administrator'@'localhost' (using password: YES)
Mantis
APPLICATION ERROR #400
Database connection failed. Error received from database was #1045: Access denied for user 'administrator'@'localhost' (using password: YES)
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
@yanleo
检查一下 Mantis 中与数据库相关的配置是否与MySQL中的实际用户名、密码相一致。MySQL 的缺省用户名和密码是 root 和空密码;
试试phpMyAdmin 是否可以访问数据库。
如果还是不行,建议把 EasyPHP 卸载,目录整个删掉,重新按照上面的 7 个步骤配置一下。
就是默认的用户名和密码是administrator root,俺真的很菜啊
能留个你的联系方式吗?MSN或QQ
求助:T-T
错误:
Attempting to connect to database as admin
BAD
Does administrative user have access to the database? ( Access denied for user 'bugs'@'localhost' (using password: YES) )
怎么填?我一直报错
Type of Database MySql (default)MySqliMicrosoft SQL Server (experimental)PGSQL (experimental)Oracle - oci8 (Experimental)
Hostname (for Database Server)
Username (for Database)
Password (for Database)
Database name (for Database)
Admin Username (to create Database)
Admin Password (to create Database)
再问一下,怎么打开SQL数据库呢?
@taiyi
如果是严格按照我上面的方法安装,那么 MySQL 只有一个用户名,就是 root,密码为空。
另外,上面也提到了,你可以用 phpMyAdmin, 是一个基于 web 的MySQL 管理工具,简单实用。
我是严格按照上面的来装的,但是
Hostname (for Database Server)
Username (for Database)
Password (for Database)
Database name (for Database)
Admin Username (to create Database)
Admin Password (to create Database
填完这个后,就提示
Attempting to connect to database as admin
BAD
Does administrative user have access to the database? ( Access denied for user 'bugs'@'localhost' (using password: YES) )
@taiyi
你的数据库中有 bugs 这个用户吗?如果是严格按照我上面的方法安装,那么 MySQL 只有一个用户名,就是 root,密码为空。
呵呵,可以进去了,谢谢。
但是另外的问题又来了。
“请修改一下 %EasyPHP_Install_dir%\apache\conf\httpd.conf 文件,找到 Listen 127.0.0.1:80,修改为 Listen 0.0.0.0:80 以后重启 EasyPHP 服务就可以了。”
我仍然无法远程访问
对阿,怎么支持中文阿,我安装好了,还有两个问题,一个是邮件配置,一个是中文支持,我都没弄好,请帮帮阿
@caimaowang@hotmail.com
@taiyi
中文英文是在每个用户的 Account 配置里面设置的。
邮件配置 Google 一下吧,我记得有篇文章很容易找到。
Hostname (for Database Server)
Username (for Database)
Password (for Database)
Database name (for Database)
Admin Username (to create Database)
Admin Password (to create Database
这些应该怎么填啊才对啊,我严格按照步骤来的,总是报错,
Does administrative user have access to the database? ( Access denied for user 'bugs'@'localhost' (using password: YES) )
然后对都对,但很多关键点都没说清楚.以楼主的方式只能建一个可看的mantis.而不是一个可实际运用在工作中的mantis.所以别在误导人了.
步骤都对,但很多关键点都没说清楚.以楼主的方式只能建一个可看的mantis.而不是一个可实际运用在工作中的mantis.所以别再误导人了.
@zhongfl
呵呵,哪些关键点没有说呢?
楼上的不妨列列,以后有机会可以再补充。或者楼上的跟大家分享一下自己的经验也可以啊。
有没有配置oracle成功的呢
一直出现Does administrative user have access to the database的错误
You are really great. Yes, I tried. working quite well!
Even though there are still a lot to setup, it is much easier than installing everything one by one.
你好,请教你一个关于mantis安装的问题:
从网络上下载的mantis中,用ftp将root/mantis的资料传到服务器上,然后打开http://localhost(服务器名)/mantis /admin/install.php进入安装配置,其它都提示good,但问题是会出现:BAD-Does administrative user have access to the database? ( Access denied for user '***@'localhost' (using password: YES) ) 。
用默认的administrator 和roo不行,用我自己在服务器上设置的数据库和密码出是这个错误。
请问你知道这该怎么处理呢??
@腾天天
先检查一下配置文件中的数据库管理员帐号是否有权限访问数据库吧。
谢谢楼主,这个安装问题昨天已解决,是要修改config_inc.php这个文件里面的数据库配置.还有一个就是Admin Username (to create Database) ,
Admin Password (to create Database )这两个填的要与Username (for Database) ,Password (for Database) 这两个一样,似乎有点奇怪.
现已安装成功.
但是有一个新问题:注册新用户时发送邮件功能似乎不行,提示注册成功,发送到邮箱中,可是在注册的邮箱中并不能收到邮件.在config_inc.php中有作相关配置,
$g_phpMailer_method = 1;
$g_smtp_host = 'smtp.***.cn';
$g_use_phpMailer = OFF;
$g_smtp_username = '*';
$g_smtp_password = '*';
试过很多种配置,但发送的邮件都无法收到?请问楼主知道这是为什么吗?
BAD
ALTER TABLE mantis_bugnote_table ADD time_tracking INTEGER UNSIGNED NOT NULL DEFAULT 0
Duplicate column name 'time_tracking'
上述是安装到Installing Database 时Create Schema ( AddColumnSQL on mantis_bugnote_table )出现的问提。
希望楼主能帮忙解答
以前配置了,也用过,但是mantis报送了几百个bug后,就觉得访问很慢,是什么原因?
@mxj
如果严格按照这个过程来做,是不会出错的:)
楼主首先感谢你把这个方法与大家分享,我现在在使用的时候遇到一个问题。进入Mantis的时候报错,错误如下所示:
APPLICATION ERROR #400
Database connection failed. Error received from database was #1049: Unknown database 'bugtracker'
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
我想了好久也没正明白,麻烦你指点下,我非常着急用Mantis做BUG管理。
还有个问题就是Matins在这上布完了 使用起来同其他的部署方法没什么不同吧?
期待你的解答!
如果您有时间的话也可以给我Email !不胜感激!
如果您有时间的话可以给我Email :cding2008@sina.com 不胜感激!
@cding
Unknown database 'bugtracker' ,找不到bugtracker数据库,你连上MYSQL看下啊
还有人帮我解答关于mantis安装的问题吗?
小女子谢谢大虾了:)
在安装完easyphp3.0后,mysql可以正常启动,但apache不能,我在Apache下选择Start后,提示“Apache2 port(80) is used by "" (svchost.exe)!”。因为之前手动安装过apache_2.2.11,选择的端口也是80,但是我在安装easyphp前已经将apache完全卸载了,包括注册表里的内容都删除了,为什么在安装easyphp后还有这样的提示呢?
哪位大虾可以帮帮我啊??
谢谢了!
在安装完easyphp3.0后,mysql可以正常启动,但apache不能,我在Apache下选择Start后,提示“Apache2 port(80) is used by "" (svchost.exe)!”。因为之前手动安装过apache_2.2.11,选择的端口也是80,但是我在安装easyphp前已经将apache完全卸载了,包括注册表里的内容都删除了,为什么在安装easyphp后还有这样的提示呢?
哪位大虾可以帮帮我啊??
谢谢了!
以上诸多数据库连接报错,访问出错的TX,请确认安装mantis版本是否为稳定的Version MantisBT 1.1.8 , 不建议使用MantisBT 1.2.0rc1