Hi, yes the openejb.xml file is the oldest one. Now it's tomes.xml Maybe we have to grep the doc and replace when relevant.
You can also use the top-right pen icon to submit a change to the doc (even in an anonymous way). Basically the configuration you tried should work. <Resource id="TestDS" type="DataSource"> JdbcDriver com.mysql.jdbc.Driver JdbcUrl jdbc:mysql://localhost/test UserName root Password some_pass </Resource> Just one note, the mysql driver is not delivered by default (licensing issue). So you need to add it to tomee/lib directory or add it using the catalina.properties file. Let'us know if that does not work but it should. Jean-Louis 2012/12/7 bibhas <bibh...@gmail.com> > I added this to my conf/tomee.xml. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-to-configure-MySQL-data-source-tp4659201p4659220.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > -- Jean-Louis