title: How to connect to database at MySQL using LUA?
body: <p>I try to connect to MySQL using LUA however an error occurs such as:</p>
  
  <p><strong>Module 'luasql.mysql' not found:
  no field package.preload['luasql.mysql']</strong></p>
  
  <pre><code>luasql = require "luasql.mysql"
  
  env = assert (luasql.mysql())
  
  con=assert(env:connect("db_name","username","pass","host",port))
  </code></pre>
  
  <p>How can I connect successfully to MySQL database?</p>