|
原来版本为mysql3.23.45,现在想升级为5.0. 一般情况必须先卸载旧版本的,因为是代码编译安装的,想卸载再安装新版本。不知道怎样能完全卸载?是直接删除那个mysql目录吗?
我把旧版本的mysql目录改为mysql3.23,然后把新版本mysql5.0用ln 连接到mysql中
在安装新版本时,新版本为二进制好象不需要编译。
shell>./scripts/mysql_install_db --user=mysql &
scripts/mysql_install_db: line 1: ./bin/my_print_defaluts: cannot execute binary file.
Neither host 'bioinfo' nor 'localhost' could be looked up with ./bin/resolveip
shell>./scripts/mysql_install_db --force
scripts/mysql_install_db: line 1: ./bin/my_print_defaluts: cannot execute binary file.
Installing MySQL system tables...
scripts/mysql_install_db: line 1: ./bin/mysqld: cannot execute binary file.
Installing of system tables failed!
由于无法使用新版本,就只好再次把使用旧版的。结果旧版的也不行了,一启动就自动关闭。找到提示为:找不到bioinfo.bin.1,奇怪!/usr/local/mysql/var下只有bioinfo.bin.001没有bioinfo.bin.1啊~!
我的系统是从redhat 7.2 升级为redhat9.0的。 |
|