| Available in: | moftpd 1.2b0- |
|---|---|
| Allowed in: | <Server> |
| Inherited: | yes |
| Arguments: | string, string, string, string |
| Description: | SQL connection information. SQL will be connected the first time information about a user is required and will be disconnected after a successful login. Arguments are database type, host/url/path/dsn, user, database. Currently only mysql is supported. |
| Example: | SQLConnect "mysql", "localhost", "moftpd", "ftpsites" |
| See also: | SQLPassword, SQLTLSConnect, SQLUserQuery, SQLDirQuery |