Hi Katie,
In jboss-4.0.2/server/default/deploy/ you will find a file called mysql-ds.xml. This file holds the connection properties lams uses to connect to the db.
In here you should find a couple of nodes like this:
<connection-url>jdbc:mysql://localhost:3306/lams</connection-url>
This is the mysql url, make sure the port/host and db are correct here, if not change them.
Also, there are rows like this
<user-name>lams</user-name>
<password>lamsdemo</password>
Also make sure these are correct to connect to your db.
If they are correct then lams should be connecting to the database through jdbc.
Luke
Posted by Luke Foxton