Reputation: 3250
i am facing the following problem
i want to drop that table but whenever i execute "drop table survey;
"
i is just infinite loop. i am using sequel pro
i do also have SSH access.
Upvotes: 0
Views: 2871
Reputation: 108651
Use ssh to access the server machine running MySQL.
then ...
cd /var/tmp
df -h .
This will tell you how much space is available on that filesystem. Not much, I'll wager.
then ...
du -sh *
will tell you how much space each folder or file in /var/tmp
is using, and ...
ls -lh
will tell you the names and owners of the files.
Delete some. Try your MySQL operations again.
Don't let the filesystem holding that tmp directory fill up in production.
In future, when you have vast .sql
files to run, try breaking them up into smaller files of about 10,000 INSERTs each.
Upvotes: 4