Thread:Project:Support desk/old mysql database resulting in Cannot contact the database server/reply (16)

Yes, that would be an idea. What you have posted there is from the right file, error.log, but it does not contain information on an error 500.