Module mysql

MySQL server.

An auto-generated root password is stored in the mysql directory as .mysql-root.pwd.

Functions

Database (database) Add a database to MySQL server.
database:Grant (dbuser) Grant access to database.

Tables

dbuser Database User.


Functions

Database (database) line 10
Add a database to MySQL server.

Parameters:

  • database string Datbase name

Returns:

    databse

Usage:

    local Database = mysql:Database('testdb')
database:Grant (dbuser) line 23
Grant access to database.

Parameters:

  • dbuser {user='username',password='password'}

See also:

Usage:

    local Database = mysql:Database('testdb')

Tables

dbuser line 19
Database User.

Fields:

  • username string Username.
  • password string Password.
generated by LDoc 1.4.6 Last updated 2019-03-17 07:43:26