Hanami :: Model internally calls ROM (ruby orm)
Can be passed with query parameter
DATABASE_URL="mysql2://root:password@host/database?socket=/mysql/mysql.sock"
https://rom-rb.org/learn/sql/3.2/#mysql
This time I had to specify socket to connect to cloud sql on GCP cloud run
DATABASE_URL="mysql2://root:password@host/database?socket=/cloudsql/<DATABASE_CONNECTION_NAME>"
Hanami has little literature, so let's actively output it.