Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/08/2014, à 14:30

apprentilinux

[ Résolu ] Logs mysql

Bonjour,

Je viens de voir les logs mysql et il y une ligne qui m'interpelle :

40821 13:27:18 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.

Je regarde dans le fichier de conf et j'ai bien myisam-recover         = BACKUP  et pas myisam-recover-options

Y a t-il d'autres paramètres à vérifier ?

Dernière modification par apprentilinux (Le 21/08/2014, à 16:03)

Hors ligne

#2 Le 21/08/2014, à 14:36

Kooothor

Re : [ Résolu ] Logs mysql

apprentilinux a écrit :

Je regarde dans le fichier de conf et j'ai bien myisam-recover         = BACKUP  et pas myisam-recover-options

Oui sauf que c'est myisam-recover-options qu'il faut avoir, pas myisam-recover. Il faut apprendre à lire wink

@+
~ktr

Hors ligne

#3 Le 21/08/2014, à 14:49

apprentilinux

Re : [ Résolu ] Logs mysql

Kooothor a écrit :
apprentilinux a écrit :

Je regarde dans le fichier de conf et j'ai bien myisam-recover         = BACKUP  et pas myisam-recover-options

Oui sauf que c'est myisam-recover-options qu'il faut avoir, pas myisam-recover. Il faut apprendre à lire wink

@+
~ktr

merci pour ta réponse Kooothor le warning est parti et j'ai une autre erreur

InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.

Hors ligne

#4 Le 21/08/2014, à 15:19

Kooothor

Re : [ Résolu ] Logs mysql

On dirait que tu essaies de démarrer un deuxième serveur mysql.
À lire : http://forums.mysql.com/read.php?22,139 … msg-139926

Hors ligne

#5 Le 21/08/2014, à 15:36

apprentilinux

Re : [ Résolu ] Logs mysql

Kooothor a écrit :

On dirait que tu essaies de démarrer un deuxième serveur mysql.
À lire : http://forums.mysql.com/read.php?22,139 … msg-139926

Lors de l'installation j'ai choisi l'installation d'un serveur lamp et après j'ai installé phpmyadmin

Hors ligne

#6 Le 21/08/2014, à 15:37

Kooothor

Re : [ Résolu ] Logs mysql

Elle n'apparaît qu'une seule fois la ligne ? Si c'est le cas, on s'en fout.

Hors ligne

#7 Le 21/08/2014, à 15:44

apprentilinux

Re : [ Résolu ] Logs mysql

voici le log :

140821 15:40:45 [Note] /usr/sbin/mysqld: Shutdown complete

140821 15:40:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140821 15:43:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140821 15:43:08 [Note] Plugin 'FEDERATED' is disabled.
140821 15:43:08 InnoDB: The InnoDB memory heap is disabled
140821 15:43:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140821 15:43:08 InnoDB: Compressed tables use zlib 1.2.8
140821 15:43:08 InnoDB: Using Linux native AIO
140821 15:43:08 InnoDB: Initializing buffer pool, size = 128.0M
140821 15:43:08 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140821 15:43:08  InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.

Hors ligne

#8 Le 21/08/2014, à 15:46

Kooothor

Re : [ Résolu ] Logs mysql

Essaie, en root :

service stop mysqld
killall -9 mysqld
service start mysql

Et regarde si y'a toujours un pb dans les logs.

Hors ligne

#9 Le 21/08/2014, à 15:51

apprentilinux

Re : [ Résolu ] Logs mysql

Kooothor a écrit :

Essaie, en root :

service stop mysqld
killall -9 mysqld
service start mysql

Et regarde si y'a toujours un pb dans les logs.


J'ai reboote et je n'ai plus cette erreur et j'ai accès avec l'interface phpmyadmin

voici les log :

tail -f /var/log/mysql/error.log 
140821 15:46:48 InnoDB: Completed initialization of buffer pool
140821 15:46:48 InnoDB: highest supported file format is Barracuda.
140821 15:46:49  InnoDB: Waiting for the background threads to start
140821 15:46:50 InnoDB: 5.5.38 started; log sequence number 1595685
140821 15:46:50 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
140821 15:46:50 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
140821 15:46:50 [Note] Server socket created on IP: '0.0.0.0'.
140821 15:46:50 [Note] Event Scheduler: Loaded 0 events
140821 15:46:50 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.38-0ubuntu0.14.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)

Dernière modification par apprentilinux (Le 21/08/2014, à 15:52)

Hors ligne

#10 Le 21/08/2014, à 15:52

Kooothor

Re : [ Résolu ] Logs mysql

Bon ben voilà, problème résolu !

Hors ligne

#11 Le 21/08/2014, à 16:03

apprentilinux

Re : [ Résolu ] Logs mysql

Merci pour ton aide Koothor smile,



J'avais oublié il faut remplacer dans le fichier d'options my.cnf

Il faut remplacer
key_buffer         = 16M   par key_buffer_size = 16M
myisam-recover = BACKUP  par    myisam-recover-options = BACKUP

Dernière modification par apprentilinux (Le 21/08/2014, à 16:10)

Hors ligne