Koozali.org: home of the SME Server

Mise a jour mysql en 4.0.18

Offline davibou

  • ***
  • 79
  • +0/-0
Mise a jour mysql en 4.0.18
« on: March 20, 2004, 05:37:50 AM »
Bonjour a tous i'am big noob

j'ai installer l'iso custom 6.0.1-01.iso et apres une longue lecture du forum et de nombreux tests j'en suis arriver la ...

packages a télécharger
http://www.mysql.com/get/Downloads/MySQL-4.0/MySQL-server-4.0.18-0.ia64.rpm/from/http://mir2.ovh.net/ftp.mysql.com/
http://www.mysql.com/get/Downloads/MySQL-4.0/MySQL-client-4.0.18-0.ia64.rpm/from/http://mir2.ovh.net/ftp.mysql.com/
http://www.mysql.com/get/Downloads/MySQL-4.0/MySQL-devel-4.0.18-0.ia64.rpm/from/http://mir2.ovh.net/ftp.mysql.com/
http://www.mysql.com/get/Downloads/MySQL-4.0/MySQL-shared-compat-4.0.17-0.ia64.rpm/from/http://mir2.ovh.net/ftp.mysql.com/
######################################################
1)Désinstallation des packages existants
######################################################
rpm -e --nodeps mysql mysql-server
rpm -e mysql-devel
rpm -e mysqlclient9
######################################################
2)Installations des nouveaux packages
######################################################
rpm -Uhv MySQL-server-4.0.18-0.i386.rpm
rpm -Uhv MySQL-client-4.0.18-0.i386.rpm
rpm -Uhv MySQL-shared-compat-4.0.18-0.i386.rpm
rpm -Uhv MySQL-devel-4.0.18-0.i386.rpm
######################################################
3)Modification des scripts de démarage
######################################################
chkconfig --levels 2345 mysql on
rm /etc/rc.d/rc7.d/S90mysqld
ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc7.d/S90mysqld
/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no (activation de l'acces distant)
/sbin/e-smith/expand-template /root/.my.cnf
""""""""""""""""""""""""""""""""""""""""""""""""""""""
Ensuite j ai un prob avec cette commande si quelq'un a une idée !!!
""""""""""""""""""""""""""""""""""""""""""""""""""""""
/etc/rc.d/init.d/m/etc/e-smith/events/actions/conf-mysql-password mysqld restart
""""""""""""""""""""""""""""""""""""""""""""""""""""""
######################################################
4)Correction du fonctionnement du script " /etc/e-smith/events/actions/conf-mysql-password "
######################################################
ln -s /usr/sbin/mysqld /usr/libexec/
######################################################
5)Activer le support de innodb
######################################################
mkdir /etc/e-smith/templates-custom/etc/my.cnf
cp /etc/e-smith/templates/etc/my.cnf/009innodb /etc/e-smith/templates-custom/etc/my.cnf
pico /etc/e-smith/templates-custom/etc/my.cnf/009innodb
remplacer
skip-innodb
par
#skip-innodb
sauvegarder le fichier et executer
/sbin/e-smith/expand-template /etc/my.cnf
######################################################
6)Redémarage de mysql
######################################################
service mysql restart
######################################################
7)Mise a jour des privileges
######################################################
mysql_fix_privilege_tables

Voila le tuto est fini c'est la marche que j'ai suivis... tout semble fonctionner correctement hormis la ligne que j'ai citer dans le tuto
je v approfondir les tests

A noter ceci n'est k'une synthese que j ai faite a partir des nombreux messages du forum

D'ailleur un grand merci au contributeurs