Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Sunrise - A new era
- Do not edit or change unless with premission of the sunrise dev's
- */
- /*
- Config, Edit this
- */
- local host = "SQL09.FREEMYSQL.NET"
- local username = "smoot178"
- local password = "booyah"
- local database = "sunrise"
- local port = 3306
- local connections = 6
- local threads = 5
- /*
- Dont edit this
- */
- require( "tmysql" )
- /*
- Initialize the connection to mysql
- */
- tmysql.initialize(host, username, password, database, port, connections, threads)
- function Query(...)
- DebugPrint("Query executing.")
- return tmysql.query(...)
- end
- function Esc(esc)
- return tmysql.escape(esc)
- end
- function QueryErrors(res,status,error)
- DebugPrint(error)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement