Linux下安装mysql手记

1,Rpm -ivh MySQL-server-5.0.45-0.glibc23.i386.rpm 出现以下问题
Libmysqlclient.so.15 is needed by MySQL-server-5.0.45-0.glibc23
Libmysqlclient.so.15(libmysqlclient_15) is needed by MySQL-server-5.0.45-0.glibc23
Perl(DBI) is needed by MySQL-server-5.0.45-0.glibc23

2,安装MySQL-shared-5.0.45-0.glibc23.i386,
Rpm -ivh MySQL-shared-5.0.45-0.glibc23.i386.rpm
成功安装
再执行Rpm -ivh MySQL-server-5.0.45-0.glibc23.i386.rpm 还是有问题

3,安装perl-DBI-1.40-5.i386.rpm
Rpm -ivh perl-DBI-1.40-5.i386.rpm
成功安装

4,安装server和client端都没有问题了
Rpm -ivh MySQL-server-5.0.45-0.glibc23.i386.rpm
Rpm -ivh MySQL-client-5.0.45-0.glibc23.i386.rpm

5,后记:当然用Rpm -ivh MySQL-server-5.0.45-0.glibc23.i386.rpm --nodeps
加上--nodeps选项可以安装,但是安装后,还是运行不了的。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/5eef64d10db5c053f8b195588b41e37d.html