- 论坛徽章:
- 0
|
我在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 编辑 ] |
|