Well, that’s a fairly sizable /tmp dir… that should be plenty, unless you have some rather large databases you’re working with.
However, just to be sure, you could always edit your my.cnf file (usually in /etc/mysql/my.cnf), and set the “tmpdir” variable to point somewhere else, perhaps “/var/tmp”.
Well, that’s a fine question, I’m not entirely certain
I read that the error you’re getting can occur when there’s some sort of table corruption, so another possibility is the re-importing it somehow resolved that corruption.
Or, if you’re now using a more recent MySQL version, that may, as you mentioned, have helped too.
Yeah, old server was Debian lenny, this is latest Ubuntu.
I got that first error because /tmp folder got full when database was creating huge querys for some reason. CPU use was 15 or so., and server responded slowly. First i moved tmp it to /var/tmp, that fixed that first error, after i did that database reimport, it stopped creating those huge sql querys. Strange