Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MYSQL] Problème de *.sock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
GNUTortue
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 234
Location: Suisse Pontenet (BE)

PostPosted: Sat May 29, 2004 8:08 pm    Post subject: [MYSQL] Problème de *.sock Reply with quote

Bonjour je vien de passer de MDK à Gentoo et j'ai emergé MySQL et j'ai suivi les conseil de conf de http://www.funix.org/fr/linux/main-linux.php3?page=menu&ref=apache2#Installation%20de%20MySQL
Mais même si MySQL est démarré ça me donne une erreur, voyez plutot :
Quote:
bash-2.05b# /etc/init.d/mysql start
* Starting mysqld... [ ok ]
bash-2.05b# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Et si je tente un mysqladmin :
Quote:
bash-2.05b# mysqladmin password "******"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

Kelkun pourrait aidé un newbis en détresse comme moi ?
_________________
Jabber : tortue@swissjabber.ch
donc les gentooistes on un penchant pour le japonais... (daywalker, 2004-10-07 à 15:23:57)
Samurai deeper Kyoo
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sat May 29, 2004 8:19 pm    Post subject: Reply with quote

Tu as fait comme indiqué a la fin de l'emerge ?
Code:
ebuild /var/db/pkg/dev-db/mysql-version/mysql-version.ebuild config

_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
GNUTortue
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 234
Location: Suisse Pontenet (BE)

PostPosted: Sun May 30, 2004 8:50 am    Post subject: Reply with quote

ça me donne ça :
Code:
bash-2.05b# ebuild /var/db/pkg/dev-db/mysql-4.0.20/mysql-4.0.20.ebuild config
 * Hmm, it appears as though you already have the mysql
 * database in place.  If you are having problems trying
 * to start mysqld, perhaps you need to manually run
 * /usr/bin/mysql_install_db and/or check your config
 * file(s) and/or database(s) and/or logfile(s).


et si je fait /usr/bin/mysql_install_db :
Code:
bash-2.05b# /usr/bin/mysql_install_db
WARNING: The host 'GentooNUX' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/etc/init.d/mysql start (you have to start the server first!)
/usr/bin/mysqladmin -u root -h GentooNUX password 'new-password'
/usr/bin/mysqladmin -u root password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

Pfff.... j'ai essyé de l'désinstaller avec
Code:
emerge unmerge mysql

Mais le « ebuild /var/db/pkg/dev-db/mysql-4.0.20/mysql-4.0.20.ebuild config » me donne toujours le même message......
_________________
Jabber : tortue@swissjabber.ch
donc les gentooistes on un penchant pour le japonais... (daywalker, 2004-10-07 à 15:23:57)
Samurai deeper Kyoo
Back to top
View user's profile Send private message
GNUTortue
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 234
Location: Suisse Pontenet (BE)

PostPosted: Tue Jun 01, 2004 9:35 am    Post subject: Reply with quote

SVP dite moi comment faire :cry:
_________________
Jabber : tortue@swissjabber.ch
donc les gentooistes on un penchant pour le japonais... (daywalker, 2004-10-07 à 15:23:57)
Samurai deeper Kyoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum