免费注册 查看新帖 |

Chinaunix

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

请教mysql安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-01 10:56 |只看该作者 |倒序浏览
我在RHEL3上卸载了低版本的mysql(一开始卸不了,有关联,后来网上看了命令,用rpm -e mysql --nodeps命令删除了——rpm -qa看不到mysql包了)。
然后我用rpm -ivh MySQL-server-standard-5.0.18-0.rhel3.i386.rpm安装了,结果如下:

warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-server-standard  ########################################### [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h rhe3pc1 password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting MySQL....[  OK  ]

我ps -ef|grep mysql看到进程了,结果如下:
root      2070     1  0 10:13 pts/0    00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/rhe3pc1.pid
mysql     2091  2070  0 10:13 pts/0    00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/rhe3pc1.pid --skip-locking

rpm -qa|grep mysql结果如下:
libdbi-dbd-mysql-0.6.5-5
mysql-devel-3.23.58-1
rpm -qa|grep MySQL结果如下:
perl-DBD-MySQL-2.1021-3
MySQL-python-0.9.1-6
MySQL-server-standard-5.0.18-0.rhel3

但是mysqladmin命令找不到(command not found),我从根目录find后也没有找到。
我现在mysqladmin和mysql都找不到啊。请问如何可以继续呢?


[ 本帖最后由 jackhoo72 于 2006-3-1 11:08 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-03-01 11:30 |只看该作者
从以上信息只知道你装了服务端,你装客户端了吗?client的rmp装了吗?

论坛徽章:
0
3 [报告]
发表于 2006-03-01 11:54 |只看该作者
高手一句话就说对了,非常感谢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP