Zhang Huangbin avatar Zhang Huangbin committed a4b0d75

Fix incorrect section name.

Comments (0)

Files changed (2)

etc/iredapd.ini.sample

 password    = Psaf68wsuVctYSbj4PJzRqmFsE0rlQ
 
 # Enabled plugins.
-#   - Plugin name is file name which placed under 'src/plugins/' directory.
+#   - Plugin name is file name which placed under 'src/plugins/' directory,
+#     starts with 'sql_'.
 #   - Plugin names MUST be seperated by comma.
 plugins = sql_alias_access_policy
                             import psycopg2
                             try:
                                 db = psycopg2.connect(
-                                    host=cfg.get('pgsql', 'server', 'localhost'),
-                                    port=cfg.get('pgsql', 'port', '5432'),
-                                    database=cfg.get('pgsql', 'db', 'vmail'),
-                                    user=cfg.get('pgsql', 'user', 'vmail'),
-                                    password=cfg.get('pgsql', 'password'),
+                                    host=cfg.get('sql', 'server', 'localhost'),
+                                    port=cfg.get('sql', 'port', '5432'),
+                                    database=cfg.get('sql', 'db', 'vmail'),
+                                    user=cfg.get('sql', 'user', 'vmail'),
+                                    password=cfg.get('sql', 'password'),
                                 )
                                 cursor = db.cursor()
                             except Exception, e:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.