While working today came across new error in Mysql
”
[myfuncol_student.ow_base_config] error: Can't create new tempfile: './myfuncol_student/ow_base_config.TMD
Repairing the Mysql didn’t fix this issue
mysql> repair table ow_base_config;
 +———————————+——–+———-+——————————————————————–+
 | Table | Op | Msg_type | Msg_text |
 +———————————+——–+———-+——————————————————————–+
 | myfuncol_student.ow_base_config | repair | error | Can’t create new tempfile: ‘./myfuncol_student/ow_base_config.TMD’ |
 | myfuncol_student.ow_base_config | repair | status | Operation failed |
 +———————————+——–+———-+——————————————————————–+
I ran below command to fix this issue
root@hostonl [/var/lib/mysql]# myisamchk -r -f myfuncol_student/ow_base_config.MYI
 – recovering (with sort) MyISAM-table ‘myfuncol_student/ow_base_config.MYI’
 Data records: 228
 – Fixing index 1
 – Fixing index 2
Now database is working fine
mysql> repair table ow_base_config;
 +———————————+——–+———-+———-+
 | Table | Op | Msg_type | Msg_text |
 +———————————+——–+———-+———-+
 | myfuncol_student.ow_base_config | repair | status | OK |
 +———————————+——–+———-+———-+
 1 row in set (0.01 sec)
 



