Connect to database

The connection will require a MySQL database

Type: Expression

Syntax:

[sqlsk] mysql conn[ect[ion]] for %datainformation%

Datainformation these are data to connect to the database in the loyout

"host database user password" | Separated by ;

If you do not want to use a password in the password place, enter none

Example:

set {_db} to mysql conn for "localhost;minecraft;admin;secretpass"
mysql {_db} query "UPDATE `herobrine` SET `location`='Behind you :)' WHERE `player` = 'Notch'"

Last updated