-
Notifications
You must be signed in to change notification settings - Fork 8
Config
Dedmen Miller edited this page Mar 26, 2019
·
5 revisions
Example config file:
accounts:
maindb: #production db, don't break things here!
ip: 127.0.0.1
username: root
password: lulz
database: production
port: 3306 #optional
testdb: #testserver
ip: 127.0.0.2
username: root
password: lulz
database: production
port: 3306 #optional
statements:
insertStuff: INSERT INTO table (a,b,c) VALUES (?,?,?)
deleteStuff: DELETE FROM table WHERE a=?
longQuery: >
SELECT stuff
FROM table
WHERE
isThisALongQuery=1 AND
queriesCanBeMultiline=1 AND
thatsWhyILikeYAML=5;