Advertisement
Guest User

Untitled

a guest
Apr 12th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. RP_MySQLConfig = {} -- Ignore this line
  2. --[[
  3. Welcome to MySQL for DarkRP!
  4. In this file you can find a manual for MySQL configuration and the MySQL config settings.
  5. ]]
  6.  
  7.  
  8. RP_MySQLConfig.EnableMySQL = true -- Set to true if you want to use an external MySQL database, false if you want to use the built in SQLite database (garrysmod/sv.db) of Garry's mod.
  9. RP_MySQLConfig.Host = "127.0.0.1" -- This is the IP address of the MySQL host. Make sure the IP address is correct and in quotation marks (" ")
  10. RP_MySQLConfig.Username = "root" -- This is the username to log in on the MySQL server.
  11. -- contact the owner of the server about the username and password. Make sure it's in quotation marks! (" ")
  12. RP_MySQLConfig.Password = "" -- This is the Password to log in on the MySQL server,
  13. -- Everyone who has access to FTP on the server can read this password.
  14. -- Make sure you know who to trust. Make sure it's in quotation marks (" ")
  15. RP_MySQLConfig.Database_name = "DarkRP" -- This is the name of the Database on the MySQL server. Contact the MySQL server host to find out what this is
  16. RP_MySQLConfig.Database_port = 3306 -- This is the port of the MySQL server. Again, contact the MySQL server host if you don't know this.
  17. RP_MySQLConfig.Preferred_module = "tmysql4" -- Preferred module, case sensitive, must be either "mysqloo" or "tmysql4". Only applies when both are installed.
  18. RP_MySQLConfig.MultiStatements = true -- Only available in tmysql4: allow multiple SQL statements per query. Has no effect if no scripts use it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement