Afficher un message
Vieux 27/10/2007, 00h56   #2
Gordon Burditt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding locking process

>Using "show open tables" I see some tables locked. But I cant find
>the locking process. When using "show processlist" I cant get any hint
>which of the processes holds the lock (or is waitiing for the lock).
>
>How can I get the process-IDs of th processen holding (and waiting)
>for a lock?


That's probably the process ID of the MySQL server process for all
of them.

Assuming you want client process IDs, that might not be meaningful
since the client process might be running on a remote system.

What *would* be meaningful would be to get the connection ID of the
MySQL connection (so the MySQL "kill" command could be used with
it) holding the lock. I don't know of a way to get that, though.

  Réponse avec citation
 
Page generated in 0,05228 seconds with 9 queries