Changes between Version 2 and Version 3 of SqlQueryMacro


Ignore:
Timestamp:
Feb 25, 2008 1:33:47 AM (6 years ago)
Author:
JamesMills
Comment:

Updated with example confiugration for db uri

Legend:

Unmodified
Added
Removed
Modified
  • SqlQueryMacro

    v2 v3  
    11= Execute an SQL Query = 
     2[[TOC]] 
    23 
    34== Description == 
     
    5859}}} 
    5960 
     61== Configure == 
     62To configure this plugin, you must tell sqlquery what database to connect to: 
     63 
     64In {{{trac.ini}}} (''or via the Web Admin''): 
     65 
     66{{{ 
     67[sqlquery] 
     68uri = mysql://user:password@hostname/database 
     69}}} 
     70 
     71You can also use oracle or sqlite: 
     72{{{ 
     73uri = oracle://user:password@tns:/ 
     74or 
     75uri = sqlite:///path/to/db 
     76}}} 
     77 
    6078== Recent Changes == 
    6179