dao.lua:22:

Query:
UPDATE papers SET num_downloads = num_downloads + 1 WHERE file_name = 'paper10.pdf'

Erro:
LuaSQL: Error executing query. MySQL: UPDATE command denied to user 'wtrans'@'localhost' for table 'papers'

stack traceback:
  /opt/kepler/share/lua/5.1/cgilua.lua:153: in function
  [C]: in function 'assert'
  dao.lua:22: in function
  (tail call): ?
  pdf_counter.lua:14: in main chunk
  [C]: in function 'xpcall'
  /opt/kepler/share/lua/5.1/cgilua.lua:161: in function
  (tail call): ?
  (tail call): ?
  (tail call): ?
  [C]: in function 'xpcall'
  /opt/kepler/share/lua/5.1/cgilua.lua:161: in function 'pcall'
  /opt/kepler/share/lua/5.1/cgilua.lua:607: in function
  [C]: in function 'pcall'
  launcher/mod2/mod2.lua:31: in main chunk