Thursday, August 14, 2014

MySQL on Mac for TechEmpower benchmarks

I always forget how to do this, so this is a note to myself.

  1. I've already installed MySQL on my Mac with Homebrew.
  2. Start MySQL.
    mysql.server start
  3. Create the user accounts, schema and data.
    sudo mysql  < config/create.sql
  4. Since I've never worked out how to increase MySQL's max number of connections, I manually decrease the size of the connection pool in every Play app's application.conf
    db.default.maxConnectionsPerPartition=5
    db.default.minConnectionsPerPartition=5

No comments:

Post a Comment