免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1399 | 回复: 4
打印 上一主题 下一主题

squid+mysql 当到mysql命令时 为什么not found?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-12 16:40 |只看该作者 |倒序浏览
squid(2.7.STABLE3-4.1) 装好了,想加个登陆的验证,于是下的mysql_auth-0.8.tar.gz
make;make install 时候
奇怪的是 make过了,可make install 输出如下信息
/usr/bin/install -o nobody -g nogroup -m 755 mysql_auth /usr/lib/squid/mysql_auth
/usr/bin/install -o root -g root -m 700 mypasswd /usr/sbin/mypasswd
/usr/bin/install -o nobody -g nogroup -m 600 src/mysql_auth.conf /etc/squid/mysql_auth.conf
/usr/bin/install -o nobody -g nogroup -m 600 src/mysql_auth.conf /etc/squid/mysql_auth.conf.default

问题一.不知道 make install过了吗?(因为我查了makefile,当前输出的内容和makefile里 install部分的内容几乎一样)(以下为makefile内容)
install:
$(INSTALL) -o nobody -g nogroup -m 755 mysql_auth /usr/lib/squid/mysql_auth
$(INSTALL) -o root -g root -m 700 mypasswd /usr/sbin/mypasswd
$(INSTALL) -o nobody -g nogroup -m 600 $(CONF) /etc/squid/mysql_auth.conf
$(INSTALL) -o nobody -g nogroup -m 600 $(CONF) /etc/squid/mysql_auth.conf.default


如果上面安装是没有问题  那
---------------------------------->
  问题二.执行mysql命令时 提示命令没有找到?    到底是为什么呢?  初次配置,请高手多多见谅

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:1515-16赛季CBA联赛之上海
日期:2016-05-05 09:45:14
2 [报告]
发表于 2009-05-12 16:41 |只看该作者
路径不对

论坛徽章:
0
3 [报告]
发表于 2009-05-12 16:45 |只看该作者
原帖由 badb0y 于 2009-5-12 16:41 发表
路径不对


我find后 内容如下
/usr/lib/mysql
/usr/include/mysql
/etc/mysql

就这三个.全是目录  找遍了系统 ,根本找不到mysql的命令啊!!!!

论坛徽章:
0
4 [报告]
发表于 2009-05-12 20:42 |只看该作者
问题还没解决....不成沉啊~~~~~~~ 顶

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
5 [报告]
发表于 2009-05-12 21:13 |只看该作者
mysql服务装了吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP