...

View Full Version : Help site down- Tables in use



3z3k3l
02-14-2007, 02:56 AM
Need help figuring out ohow to unlock tables.

Everytime I try a repair with my Web Host Manager my whole site freezes up.

I have one table that is "in use" a sessions table.

I can use putty and get to the
>Mysql prompt but I am lost from there...

Is there a way to repair or fix this? I have tried using phpmyadmin and cpanel and neither work, they just time out....

what command should I use?

neomaximus2k
02-14-2007, 10:16 AM
from the mysql promt type in

UNLOCK TABLES


UNLOCK TABLES explicitly releases any locks held by the current thread. All tables that are locked by the current thread are implicitly unlocked when the thread issues another LOCK TABLES, or when the connection to the server is closed. UNLOCK TABLES is also used after acquiring a global read lock with FLUSH TABLES WITH READ LOCK to release that lock. (You can lock all tables in all databases with read locks with the FLUSH TABLES WITH READ LOCK statement.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum