View previous topic :: View next topic |
Author |
Message |
Stanislas Tux's lil' helper
Joined: 09 Oct 2003 Posts: 83 Location: France, Lyon
|
Posted: Fri Dec 23, 2005 7:58 pm Post subject: [MySql] Probleme au lancement de mysqld (resolu) |
|
|
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 |
|
|
Talosectos Guru
Joined: 31 Aug 2004 Posts: 329 Location: Bugey-Libre
|
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1897 Location: 127.0.0.1
|
Posted: Fri Dec 23, 2005 9:50 pm Post subject: |
|
|
Salut,
Essaye :
Code: | /etc/init.d/mysql zap |
Si çà ne fonctionne toujours pas, lis ce topic.
En particulier ce post. |
|
Back to top |
|
|
Stanislas Tux's lil' helper
Joined: 09 Oct 2003 Posts: 83 Location: France, Lyon
|
Posted: Sat Dec 24, 2005 4:47 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|