SHARE
TWEET

Untitled

a guest Dec 23rd, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require("mysqloo")
  2.  
  3. local DATABASE_HOST = "localhost"
  4. local DATABASE_PORT = 3308
  5. local DATABASE_NAME = "test"
  6. local DATABASE_USERNAME = "root"
  7. local DATABASE_PASSWORD = "1234"
  8.  
  9.  
  10. local meta = FindMetaTable("Player")
  11.  
  12. function connectToDatabase()
  13.     local databaseObject = mysqloo.connect(DATABASE_HOST, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_NAME, DATABASE_PORT)
  14.     databaseObject:connect()
  15. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top