白盒测试

Bugfree安装问题解决方案

上一篇 / 下一篇  2008-10-10 15:49:15 / 个人分类:工具

【摘自小水滴的个人空间】

  总结一下我在安装Bugfree时遇到的一些问题和相关的解决方案

服务器端环境:

操作系统:RedHat AS 4 ;数据库:Mysql;Web服务器:Apache;脚本系统:Php

错误提示一:不能通过'/tmp/mysql.sock'连到服务器

解决方案:这个问题是用户权限不够造成的,数据库里赋予用户足够权限即可解决。具体操作方法如

下:

[root@localhost etc]# mysql

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

Your MySQL connection id is 7 toserverversion: 4.1.16

 

mysql> grant all privileges on *.* to 'jifang'@'' identified by 'hello';

Query OK, 0 rows affected (0.01 sec)

 

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

 

mysql> exit

Bye

 

[root@localhost etc]# mysql

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

Your MySQL connection id is 9 to server version: 4.1.16

 

mysql> use mysql

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> select * from user;

 

mysql> exit

Bye

 

错误提示二:客户机浏览器显示的是php的源码

 

解决方案:只需要重起Apache,即可解决。具体操作方法如下:

 

]#cd /path/to/apache/bin
]#apachectl restart
or
]#servcice httpd restart

 

错误提示三:目录下找不到mysql.sock

 

解决方案:重新启动Mysql。命令执行完成后,需要等待一段时间,才能有

 

mysql.sock生成。具体操作方法如下:

 

1、使用 service 启动:service mysqld restart

 

2、使用 mysqld  脚本启动:/etc/inint.d/mysqld restart

 


TAG: 测试学习

 

评分:0

我来说两句

日历

« 2024-04-25  
 123456
78910111213
14151617181920
21222324252627
282930    

我的存档

数据统计

  • 访问量: 6608
  • 日志数: 11
  • 建立时间: 2008-10-09
  • 更新时间: 2008-10-13

RSS订阅

Open Toolbar