Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MySql] Probleme au lancement de mysqld (resolu)
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
Stanislas
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2003
Posts: 83
Location: France, Lyon

PostPosted: Fri Dec 23, 2005 7:58 pm    Post subject: [MySql] Probleme au lancement de mysqld (resolu) Reply with quote

Hi,

I have a problem with my mysql server. When I run mysqld (/etc/ini.d/mysql start), that is working well. But if I want to connect to the server (mysql) i get the error message
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
.

Ok ! mysqld should not exist ! I go to /var/run/mysqld/ ... and the file is there !! When I want to stop the server I have
Code:
Stopping mysqld (/etc/mysql/my.cnf) ...                                [ !! ]
(does anyone know how to get the error ?). The server is not stoped, I can't launch it again ... but if I try
Code:
 ps -A | grep 'mysql'
I have nothing ...

If someone have an idea ... the mysql version is 4.1.14

Thinks

[edit]
Une semaine en Angleterre et je ne sais plus parler français moi :) Excusez, à force de lire des forums en anglais je fais des gaffes !

Le message traduit :
Bonjour,

J'ai un problème avec mon serveur SQL. Quand je mysqld lance (/etc/ini.d/mysql start), tout semble marcher correctement. Mais si je veux me connecter au serveur (mysql) j'ai l'erreur :
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
.

Ok ! Le fichier n'existe peut-être pas ! Je vais voir /var/run/mysqld/ ... et je trouve qu'il existe !! Quand je veux arrêter le serveur
Code:
Stopping mysqld (/etc/mysql/my.cnf) ...                                [ !! ]
(Est-ce que quelqu'un peut me dire comment récupérer le message d'erreur ?). Le serveur n'est pas arrête, je ne peux pas le relancer ... mais si j'essaie
Code:
 ps -A | grep 'mysql'
aucun processus n'apparaît ...

Est-ce que quelqu'un à une idée ? Ma version de MyQql est 4.1.14
Merci
[/edit]


Last edited by Stanislas on Sat Dec 24, 2005 5:12 pm; edited 2 times in total
Back to top
View user's profile Send private message
Talosectos
Guru
Guru


Joined: 31 Aug 2004
Posts: 329
Location: Bugey-Libre

PostPosted: Fri Dec 23, 2005 9:45 pm    Post subject: Reply with quote

Sur le forum français, la langue française c'est mieux :wink:

As-tu déja réémerger mysql?
_________________
Comité de lutte contre le language sms et les fautes volontaires
Utilisez la fonction recherche !
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1897
Location: 127.0.0.1

PostPosted: Fri Dec 23, 2005 9:50 pm    Post subject: Reply with quote

Salut,

Essaye :
Code:
/etc/init.d/mysql zap

Si çà ne fonctionne toujours pas, lis ce topic.
En particulier ce post.
Back to top
View user's profile Send private message
Stanislas
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2003
Posts: 83
Location: France, Lyon

PostPosted: Sat Dec 24, 2005 4:47 pm    Post subject: Reply with quote

Quote:

Si ça ne fonctionne toujours pas, lis ce topic.
En particulier ce post.


Merci, bien trouvé ... il suffisait de changer "innodb_log_file_size=5M" par "innodb_log_file_size=8M" dans /etc/mysqk/my.cnf

Merci

Désolé encore pour le post en anglais :roll:
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