Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySql socket
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
Atreillou
Apprentice
Apprentice


Joined: 29 Oct 2002
Posts: 257

PostPosted: Wed Dec 18, 2002 12:30 pm    Post subject: MySql socket Reply with quote

hello,


petite question sur MySql ou Gentoo ....

je m'explique:

g installé la deniére version stable de MySql (a la main pas par portage)

tout se passe bien sauf au lancement ou g ca dans mes logs

Code:

021218 11:46:48  mysqld started
021218 11:46:48  Can't start server : Bind on unix socket: Permission denied
021218 11:46:48  Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
021218 11:46:48  Aborting

021218 11:46:48  /usr/local/mysql/libexec/mysqld: Shutdown Complete

021218 11:46:48  mysqld ended


Il est indiqué que cela est surement dur a un process qui utilise deja le port de mysql...

mais g rien qui tourne sur ce port

et g le même message lorsque je change le port dans le fichier /etc/my.cnf...

une id peut etre ?
Back to top
View user's profile Send private message
Atreillou
Apprentice
Apprentice


Joined: 29 Oct 2002
Posts: 257

PostPosted: Wed Dec 18, 2002 12:41 pm    Post subject: Reply with quote

pour info: cela vient des droits accordés au /tmp a l install de gentoo.

avec un
Code:

./configure  --with-unix-socket-path=/usr/local/mysql/var/mysql.sock --prefix=/usr/local/mysql
cela passe ....
Back to top
View user's profile Send private message
tlg
n00b
n00b


Joined: 13 Dec 2002
Posts: 9

PostPosted: Wed Dec 18, 2002 7:24 pm    Post subject: Reply with quote

Est ce que le fichier /tmp/mysql.sock existe ?
Back to top
View user's profile Send private message
Atreillou
Apprentice
Apprentice


Joined: 29 Oct 2002
Posts: 257

PostPosted: Thu Dec 19, 2002 12:03 am    Post subject: Reply with quote

il nexistait pas et si je le cré a la main(fichier vide) il me le supprime bien a la sortie de mysql ..... etrange...
Back to top
View user's profile Send private message
Mat_le_ouf
Apprentice
Apprentice


Joined: 13 Sep 2002
Posts: 257
Location: France

PostPosted: Thu Dec 19, 2002 11:28 am    Post subject: Reply with quote

Tant qu'on est dans MySQL, j'ai un petit probleme avec le mien.
Quand je fais mysql_install_db, il me dit (de tete) :
Code:
Duplicate entry for localhost-root

Et quand j'essaie de me connecter a la base en specifiant comme hote localhost, il ne veut pas...
J'ai quand meme reussi a installer phpBB mais ca reste etrange...
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