Curious, as it just worked for me:
Code:
stewarta@stewarta:~/projects/roo-test/empty$ ~/java/spring-roo-1.1.2.RELEASE/bin/roo.sh
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.1.2.RELEASE [rev fbc33bb]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo>
roo> database
22 upgrades available (plus 0 upgrade not visible due to your version stability setting of ANY)
roo> database reverse engineer --schema
database reverse engineer --schema
required --schema: The database schema name; no default value
roo> database reverse engineer --schema unable-to-obtain-connection
Located add-on that may offer this JDBC driver
1 found, sorted by rank; T = trusted developer; R = Roo 1.1 compatible
ID T R DESCRIPTION -------------------------------------------------------------
01 Y Y 5.1.13.0001 #jdbcdriver driverclass:com.mysql.jdbc.Driver. This...
--------------------------------------------------------------------------------
[HINT] use 'addon info id --searchResultId ..' to see details about a search result
[HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
[HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
JDBC driver not available for 'com.mysql.jdbc.Driver'
roo> addon install id --searchResultId 01
Target resource(s):
-------------------
Spring Roo - Wrapping - mysql-connector-java (5.1.13.0001)
Deploying...done.
Successfully installed add-on: Spring Roo - Wrapping - mysql-connector-java [version: 5.1.13.0001]
[Hint] Please consider rating this add-on with the following command:
[Hint] addon feedback bundle --bundleSymbolicName org.springframework.roo.wrapping.mysql-connector-java --rating ... --comment "..."
roo> database reverse engineer --schema
database reverse engineer --schema
required --schema: The database schema name; no default value
roo> database reverse engineer --schema unable-to-obtain-connection
Unable to get connection from driver
roo>