Pb mysql sous ubuntu

23 views
Skip to first unread message

Dominique L

unread,
May 18, 2012, 3:30:55 AM5/18/12
to pkgi
Bonjour,

Pour info, je n'arrive pas à résoudre le pb de lancement de mysql.
La config : ubuntu 12.04 pkgi 3.16
Le message :
ubuntu@ubuntu:~/applis/wpcaes$ etc/init.d/appli start
* Starting MySQL database server (listening on 0.0.0.0:7199)
mysqld [fail]
ubuntu@ubuntu:~/applis/wpcaes$

Je ne sais pas dans quels fichiers sont les paramêtres
d'initialisation de la base mysql.
Même en essayant de "secouer" la base (rm et reset...) pas de
solution...

Dans pkgi.log :
2012-05-18T08:51:25+02:00 - ubuntu - 120518 8:51:10 [Warning] The
syntax '--log' is deprecated and will be removed in a future release.
Please use '--general-log'/'--general-log-file' instead.
2012-05-18T08:51:25+02:00 - ubuntu - 120518 8:51:10 [Warning] The
syntax '--log-slow-queries' is deprecated and will be removed in a
future release. Please use '--slow-query-log'/'--slow-query-log-file'
instead.
2012-05-18T08:51:25+02:00 - ubuntu - 120518 8:51:10 [ERROR] An old
style --language value with language specific part detected: /usr/
share/mysql/french/
2012-05-18T08:51:25+02:00 - ubuntu - 120518 8:51:10 [ERROR] Use --lc-
messages-dir without language specific part instead.
2012-05-18T08:51:25+02:00 - ubuntu - Error: debian-sys-maint cannot be
created.
2012-05-18T08:51:25+02:00 - ubuntu - * Starting MySQL database server
(listening on 0.0.0.0:7199) mysqld
2012-05-18T08:51:25+02:00 - ubuntu - ...fail!
2012-05-18T08:51:25+02:00 - ubuntu - Appli database cannot be
initialized because mysql serveur is not running. Please start it and
try again.
2012-05-18T08:51:25+02:00 - ubuntu - * Stopping MySQL database server
mysqld
2012-05-18T08:51:25+02:00 - ubuntu - ...done.

Dans le fichier error.log de mysql :

120518 09:23:11 mysqld_safe Starting mysqld daemon with databases
from /home/ubuntu/applis/wpcaes/var/lib/mysql
120518 9:23:11 [Warning] The syntax '--log' is deprecated and will be
removed in a future release. Please use '--general-log'/'--general-log-
fi
le' instead.
120518 9:23:11 [Warning] The syntax '--log-slow-queries' is
deprecated and will be removed in a future release. Please use '--slow-
query-log'/'
--slow-query-log-file' instead.
120518 9:23:11 [ERROR] An old style --language value with language
specific part detected: /usr/share/mysql/french/
120518 9:23:11 [ERROR] Use --lc-messages-dir without language
specific part instead.
120518 9:23:11 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: La table 'mysql.plugin' n'existe pas
120518 9:23:11 [ERROR] Can't open the mysql.plugin table. Please run
mysql_upgrade to create it.
120518 9:23:11 InnoDB: The InnoDB memory heap is disabled
120518 9:23:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120518 9:23:11 InnoDB: Compressed tables use zlib 1.2.3.4
120518 9:23:11 InnoDB: Initializing buffer pool, size = 128.0M
120518 9:23:11 InnoDB: Completed initialization of buffer pool
120518 9:23:11 InnoDB: highest supported file format is Barracuda.
120518 9:23:11 InnoDB: Waiting for the background threads to start
120518 9:23:12 InnoDB: 1.1.8 started; log sequence number 1595675
120518 9:23:12 [ERROR] /usr/sbin/mysqld: unknown option '--skip-
locking'
120518 9:23:12 [ERROR] Aborting

120518 9:23:12 InnoDB: Starting shutdown...
120518 9:23:13 InnoDB: Shutdown completed; log sequence number
1595675
120518 9:23:13 [Note] /usr/sbin/mysqld: Arrêt du serveur terminé


Cédric TINTANET

unread,
May 18, 2012, 5:54:01 AM5/18/12
to pk...@googlegroups.com
Il me semble avoir déjà été confronté à ce problème.
L'option '--skip- locking' ne doit plus exister dans les dernières versions de mysql-server.
Ceci se règle dans le fichier /etc/mysql/my.cnf



2012/5/18 Dominique L <dominique...@gmail.com>

Nicolas Thouvenin

unread,
May 21, 2012, 6:14:36 AM5/21/12
to pk...@googlegroups.com
Avec du retard...,
J'ai eu le même problème après être passé à ubuntu 12.04
il faut effectivement supprimer skip-locking
mais il faut renommer toutes les variables concernant la log.

J'ai également eu un problème avec language, que j'ai du également désactiver.

Nicolas

Stéphane Gully

unread,
May 21, 2012, 8:33:14 AM5/21/12
to pk...@googlegroups.com
Pouvez vous me faire un pull request avec ces modification que je
puisse les tester sur debian et les intégrer dans le code officiel ?
--
Stéphane Gully
Reply all
Reply to author
Forward
0 new messages