From 170dbcaaa98b8b93a099f629f212ba0564726912 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 4 Jun 2006 01:54:07 +0000 Subject: [PATCH] whoa --- configs/modules.ini | 31 ++++++++++++------------------- configs/sql.cfg | 7 +++++-- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/configs/modules.ini b/configs/modules.ini index 233b6933..f346229e 100755 --- a/configs/modules.ini +++ b/configs/modules.ini @@ -1,12 +1,19 @@ ;;; ; To enable a module, remove the semi-colon (;) in front of its name. -; Module names don't have _amxx or their file extension, and they -; are listed one per line. -; You can also put a > in front of a module name to force the name -; to be used as it is, without auto-correcting it. +; If it's not here, simply add it its name, one per line. +; You don't need to write the _amxx part or the file extension. ;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; SQL Modules usually need to be enabled manually ;; +;; You can have any number on at a time. Use ;; +;; amx_sql_type in sql.cfg to specify the default ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;mysqlx +;sqlitex + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; @@ -15,27 +22,13 @@ - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; SQL Modules need to be explicitly enabled. ;; -;; You can only have one type on at a time. ;; -;; However, you can choose either MySQL or MySQLX, ;; -;; or both. If you run both at once, MySQLX will ;; -;; run in backwards compatibility mode. ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;mysql -;mysqlx -;sqlite - - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -fun +;fun ;engine ;fakemeta ;geoip diff --git a/configs/sql.cfg b/configs/sql.cfg index 0e1cd990..b8cd7657 100755 --- a/configs/sql.cfg +++ b/configs/sql.cfg @@ -4,8 +4,11 @@ // *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" // We recommend using your server IP address instead of its name +// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use. + amx_sql_host "127.0.0.1" amx_sql_user "root" amx_sql_pass "" -amx_sql_db "amx" -amx_sql_table "admins" \ No newline at end of file +amx_sql_db "amx" +amx_sql_table "admins" +amx_sql_type "mysql"