Advertisement
Guest User

sql-msql

a guest
Aug 15th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. local connection = nil
  2. local connection = nil
  3. local null = nil
  4. local results = { }
  5. local max_results = 128
  6.  
  7. -- connection functions
  8. local function connect( )
  9. -- retrieve the settings
  10. local server = "127.0.0.1"
  11. local user = "sql12"
  12. local password = "7xXkkO2QKH"
  13. local db = "sql12"
  14. local port = get( "port" ) or 3306
  15. local socket = get( "socket" ) or nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement