- 论坛徽章:
- 0
|
回复 #2 xinyv 的帖子
1、 cp /var/lib/mysql /var/lib/mysql_bak
我执行这个 说是cp: 略过目录‘/var/lib/mysql’
2、 rpm -ivh MySQL-server-community-5.0.88-0.rhel3.i386.rpm --force
我执行这个 结果出这个错误
- warning: MySQL-server-community-5.0.88-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
- Preparing... ########################################### [100%]
- ******************************************************************
- A MySQL server package (MySQL-server-community-5.1.41-0.rhel3) is installed.
- Upgrading directly from MySQL 5.1 to MySQL 5.0 may not
- be safe in all cases. A manual dump and restore using mysqldump is
- recommended. It is important to review the MySQL manual's Upgrading
- section for version-specific incompatibilities.
- A manual upgrade is required.
- - Ensure that you have a complete, working backup of your data and my.cnf
- files
- - Shut down the MySQL server cleanly
- - Remove the existing MySQL packages. Usually this command will
- list the packages you should remove:
- rpm -qa | grep -i '^mysql-'
- You may choose to use 'rpm --nodeps -ev <package-name>' to remove
- the package which contains the mysqlclient shared library. The
- library will be reinstalled by the MySQL-shared-compat package.
- - Install the new MySQL packages supplied by Sun Microsystems, Inc.
- - Ensure that the MySQL server is started
- - Run the 'mysql_upgrade' program
- This is a brief description of the upgrade process. Important details
- can be found in the MySQL manual, in the Upgrading section.
- ******************************************************************
- error: %pre(MySQL-server-community-5.0.88-0.rhel3) scriptlet failed, exit status 1
- error: install: %pre scriptlet failed (2), skipping MySQL-server-community-5.0.88-0.rhel3
复制代码
3、 rm -f /var/run/mysqld/mysqld.pid
run 下没有 mysqld 这个目录
/var/log/ 这个目录下没有 mysqld.log
/etc/my.cnf 里的 log-bin=mysql-bin
可是找不到哎~~~~
神~~ 日志在哪个目录下..... 顺便贴出来你QQ
[ 本帖最后由 270127042 于 2009-12-9 10:03 编辑 ] |
|