|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Futur Membre du Club
![]() Inscription : avril 2006 Messages : 89 ![]() |
Bonjour,
j'essaye d'installer mysql serveur et client pour l'usage du serveur jabber sous linux redhat. aprés avoir installer jabber2.0.os3.tar.gz et l'avoir lancer avec "./configure" j'ai le probleme suivant: checking for mysql_init in -lmysqlclient... no configure: error: MySQL client libraries not found Alors j'ai telecharger MySQL-client-4.1.9-0.i386.rpm et MySQL-server-4.1.9-0.i386.rpm Car j'ai suivi ces etapes: * download package o MySQL-server-4.1.9-0.i386.rpm o MySQL-client-4.1.9-0.i386.rpm * rpm -i MySQL-server-4.1.9-0.i386.rpm * rpm -i MySQL-client-4.1.9-0.i386.rpm # mysql -u root -p mysql La derniere commande m'a retourné l'erreur suivante: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) veuillez s'il vous plait m'aider a resoudre ce probleme en citant toute les etapes a suivre. Merci c'est un travail urgent. |
|
|
00
|
|
|
#2 |
|
Futur Membre du Club
![]() Inscription : avril 2006 Messages : 89 ![]() |
Solution ( Sous Redhat8.0 )
Telecharger mysql-3.23.57.tar.gz placer les sources mysql-3.23.57.tar.gz dans le rep /usr/src. cd /usr/src tar -vzxf mysql-3.23.57.tar.gz cd /usr/src/mysql-3.23.57 ./configure make make install (pour plus de details voir http://www.gphp.net/install,2.php) (Solution pour ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Faire : ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-unix-socket-path=/var/run/mysql/mysql.sock ) NB: Donner le chemin qu'il faut. ------------------------------------------------------------------ /*Pour ceux qui veulent installer jabberd-2.0s10.tar.gz*/ ------------------------------------------------------------------ Aprés cela lancer l'installation de jabberd-2.0s10.tar.gz placer les sources jabberd-2.0s10.tar.gz dans le rep /usr/src. cd /usr/src tar -vzxf jabberd-2.0s10.tar.gz cd /usr/src/jabberd-2.0s10 ./configure --with-extra-include-path=/usr/local/include:/usr/local/include/mysql--with-extra-library-path=/usr/local/lib:/usr/local/lib/mysql (Solution pour : checking for mysql_init in -lmysqlclient... no configure: error: MySQL client libraries not found) make install et voilà plus de messages d'erreur dans la configuration ni dans l'installation. Bonne Chance... |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com