If there are no files in the directory var/... you may have wrong directory permissions and you whole installation screwed up ;-) In that case fix directory permission so that it is writeable by the webserver-user and you will have logs.
On the other hand you may enable mysql's errorlogging in /etc/mysql/my.cnf and/or /etc/mysql/conf.d/my.cnf. All sql-errors will then be logged in /var/log/mysql.err or so.
If you are using windows as server i cannot help you...
so that gave me the info i needed. there is something wrong with my mysql but there is of course nothing in the error.log of mysql also no debug... damn..
Hmm, perhaps it's a braindead easy mysql-connection error which involves a wrong username and/or password for mysql. Have you tried checking that?
Or.. if i remember correctly, error (1) is an error which has nothing to do with mysql or something of eZPublish's backend-systems. It says, that you do not have the permissions to access this site/module/object whatsoever.
Can you please post the correct message you encounter?