Mysql(version : 5.0.16) can support james2.2.
i'm using these.
NOTE:
1,In your $James_home/apps/james/SAR-INF/config.xml , the
<database-connections> element will be like this:
/*
<database-connections>
<data-sources>
<data-source name="maildb"
class="org.apache.james.util.mordred.JdbcDataSource">
<driver>com.mysql.jdbc.Driver</driver>
<dburl>jdbc:mysql://127.0.0.1:3306/jamesmail</dburl>
<user>account</user>
<password>pwd</password>
<max>20</max>
</data-source>
</data-sources>
</database-connections>
*/2,you had to create a database like '/*jamesmail*/' .
3,make sure it include 'mysql-connector-java-3.1.11-bin.jar' in your
$James_home/lib directory.
my configration is such as , hope it will be helpful 4 you.