Changes between Version 28 and Version 29 of SqlQueryMacro
- Timestamp:
- Mar 10, 2021, 11:39:32 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SqlQueryMacro
v28 v29 62 62 == Configuration 63 63 64 Configuration is only needed for the 0.11 branch of the plugin, 65 or if using a datasource other than Trac's database. 64 Configuration is only needed if using a datasource other than Trac's database. To configure this plugin, you must tell SQLQuery what database to connect to. 66 65 67 To configure this plugin, you must tell SQLQuery what database to connect to. 68 69 In `trac.ini` or via the WebAdmin menu: 70 71 {{{#!ini 72 [sqlquery] 73 uri = mysql://user:password@hostname/database 74 }}} 75 76 You can also use Oracle or SQLite: 77 78 {{{#!ini 79 [sqlquery] 80 uri = oracle://user:password@tns 81 }}} 82 83 or: 66 In `trac.ini`: 84 67 85 68 {{{#!ini … … 87 70 uri = sqlite:///path/to/db 88 71 }}} 72 73 The allowed [TracEnvironment#DatabaseConnectionStrings database connection strings] are those supported by Trac. 89 74 90 75 == Recent Changes