title: What is the MySQL database url format to establish connection in Rails?
body: <p>What is the database url format for MySQL you pass to <code>establish_connection</code> method?</p>
  
  <pre><code>class ModelBase &lt; ApplicationRecord
    establish_connection "mysql database url"
  end
  </code></pre>