user warning: Can't create/write to file '#sql_362c_0.MYD' (Errcode: 17)

Error:
user warning: Can't create/write to file '#sql_362c_0.MYD' (Errcode: 17)

Solution:
Remove file named #sql_362c_0.MYD from temporary directory that is used by mysql, in our case it is - /var/lib/mysql/

In case error has not disappeared - clear Drupal page cache

May 29, 2018