New Installation Error

I have just installed FreePBX-64bit-6.12.65, gone through the login scripts and system activation without problem. However when I boot my machine, I see a lot of errors on start that appear to be to do with mysql. This is in the middle of my boot.log:

[FATAL] DB Error: connect failed

Lots of posts talk about left over mysqld.lock files but this is a brand new install and anyway mysqld removes the lock file when it is shutdown. Can anyone help?

Is MySQL running

service mysqld status

also what do the mysql logs in /var/log/ show