Difference between revisions of "2.0/Modules/m mysql"
From AnopeWiki
(Created page with "{{Language|2.0/Modules/m_mysql}} {{Header|m_mysql|Database|Anope}} == <div class="moduleheader">Description</div> == This module allows other modules to use MySQL. ;name= :M...") |
Iotaspencer (Talk | contribs) (→Description: (Enable/Disable)d spelling correction) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
== <div class="moduleheader">Description</div> == | == <div class="moduleheader">Description</div> == | ||
This module allows other modules to use MySQL. | This module allows other modules to use MySQL. | ||
+ | |||
+ | *<span style="color: red;">Enabled/Disabled using the '''./extra''' command line configuration tool.</span> | ||
;name= :Module name, no not change. | ;name= :Module name, no not change. | ||
;mysql {...} : | ;mysql {...} : | ||
− | :;name= :name of MySQL connection. | + | :;name= :name of MySQL connection. |
:;database= :MySQL database to use | :;database= :MySQL database to use | ||
:;server= :MySQL Server to conenct to | :;server= :MySQL Server to conenct to |
Latest revision as of 17:15, 16 December 2016
Language | |
---|---|
English |
|
Description
This module allows other modules to use MySQL.
- Enabled/Disabled using the ./extra command line configuration tool.
- name=
- Module name, no not change.
- mysql {...}
-
- name=
- name of MySQL connection.
- database=
- MySQL database to use
- server=
- MySQL Server to conenct to
- username=
- Username to connect with
- password=
- Password to connect with
- port=
- MySQL Server port to connect with
Default Configuration
/* * m_mysql [EXTRA] * * This module allows other modules to use MySQL. */ #module { name = "m_mysql" mysql { /* The name of this service. */ name = "mysql/main" database = "anope" server = "127.0.0.1" username = "anope" password = "mypassword" port = 3306 } }