[root@alloy mysql]# rpm -ivh Mysql-3.23.56-1.i386.rpm
error: open of Mysql-3.23.56-1.i386.rpm failed: 没有那个文件或目录
[root@alloy mysql]# rpm -ivh MySQL-3.23.56-1.i386.rpm
warning: MySQL-3.23.56-1.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL ########################################### [100%]
Installing all prepared tables
030412 13:33:22 /usr/sbin/mysqld: Shutdown Complete
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h alloy password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
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 mysqld daemon with databases from /var/lib/mysql
[root@alloy mysql]# mysql
bash: mysql: command not found