Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MySQL.yml config:
- MySQL: true
- MySQLSetup:
- Host: "localhost"
- Username: "yourusername"
- Password: "yourpassword"
- Database: "yourdatabase"
- Testscript.sk file:
- on load:
- set mysql host to "localhost"
- set mysql username to "yourusername"
- set mysql password to "yourpassword"
- set mysql database to "yourdatabase"
- connect to mysql
- command /createnewtable:
- trigger:
- mysql update "CREATE TABLE IF NOT EXISTS `Testtable` (`VarName` varchar(255),`VarValue` longtext)"
- mysql update "ALTER TABLE `Testtable` ADD UNIQUE (VarName)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement