MySQL logs

Where can I find the MySQL logs? I’m trying to install PrestaShop, and it keeps failing at 12% saying it can’t find the shop. I checked the DB, and the tables are created, so I’m thinking there is some sort of timeout.

My .php/5.4/phprc file contains:
max_execution_time = 600
post_max_size = "15M"
mysql.connect_timeout = 600
memory_limit = “512M”