0

I trying to select or desc tables sometimes it works and sometimes I got:

ERROR 1 (HY000): Can't create/write to file '/var/tmp/#sql_c27_0.MAI' (Errcode: 2 "No such file or directory")

it worked and stop working.

Thanks.

user1980099
  • 493
  • 1
  • 6
  • 25
  • Looks like an apparmor / setenforce problem. I've seen this error when the system security is blocking mysqld from using an unauthorized directory. Did you try to change the `tmpdir` option recently? – Bill Karwin Mar 15 '22 at 16:19

1 Answers1

0

It seems that your disk is out of space. I'd recommend running the following commands to check to see if it has free space / free inodes:

df -h
df -ih
Valeriu Ciuca
  • 639
  • 5
  • 11