WebGUI
      Click here to register.
      
PBWG Banner


     Request Features > Request For Enhancement

Database Link test

User knowmad
Date 9/26/2007 4:57 pm
Version WebGUI
Views 1119
Rating -4    Rate [
|
]
Difficulty 1
Karma So Far 600
Karma Rank 600.000000
Transfer Karma
Previous · Next
User Message
knowmad
Configuring links to external databases can be challenging. It would ease the challenge if there were a button on the Edit Database Link page that would run a connection test to make sure WebGUI can connect.

----
Knowmad Technologies
http://www.knowmad.com



Back to Top  
 
koen

That doesn't seem too hard and it does seem very useful.

Only a connect and disconnect would be enough to know if the link is ok.

So line 292 of WebGUI/lib/WebGUI/Operation/DatabaseLink.pm should  be adjusted and a subroutine should be written that call's connect from the SQL.pm module.

Line 292: 

$output .= '<td valign="top" class="tableData">'.$links->{$id}.'</td></tr>';

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization



Back to Top