title: using mysql in lua script
body: <p>I need to read a database table from inside a Lua script in pdns-recursor on a Scientific Linux 6.4 server which comes with Lua pre-loaded.</p>
  
  <p>Apparently I have to use luarocks to install luasql.   When I attempt to install luasql I get:</p>
  
  <pre><code>Checking Lua includes... lua.h not found  
  lua.h is not on the server.  
  </code></pre>
  
  <p>I tried removing the installed version so I could install from binary but then that trashed the system which apparently uses the installed Lua for everything (yum, rpm, etc).  Now I have to reload OS.  How can I get MySQL access from embedded Lua?</p>
  
  <p>Thanks in advance.</p>