When I visit the main page of my drupal 4.5 webpage, I get tons of the same error:
user error: Can't create/write to file '/tmp/#sql_3199_0.MYI' (Errcode: 13)
query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid INNER JOIN users_roles ur ON ur.rid = r.rid WHERE ur.uid = 0 in /var/www/html/drupal4.5/includes/database.mysql.inc on line 125.
I sometimes get that error, but with watchdog on version 4.4.2 too .. but then there's only one error though. Theones on 4.5 are many.