Do you really have a file at /home/naosu/public_html/maintenance/tables.sql ? How did you get mediawiki? Distro packages tend to give problems. Install from www.mediawiki.org