Hi Jimdriver:
I think B4A has nothing to do with this. Just read how to setup an AWS server with Mysql. (probably it's not the easiest way of having an mysql database)
Then use some of the several ways of connecting to mysql, the recommended way is jRDC2, but you can try with php, or jdbcSQL.