MySql setup in JBoss 4.2 Eclipse Plugin?

Dear Experts,

I'm a newbie at JBoss.  Could you folks point me to links (or tell me) of a GUI-based way to set up MySql within JBoss 4.2 within Eclipse plugin?  I'm much to ffrightened to go mucking around with XML config files!  Is there an idiot-proof way to do it?

Thanks!
McJava1967
McJava1967Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
adrpoConnect With a Mentor Commented:
Hi,

It seems there is no GUI to set that.
You'll have to hold your breath and edit the xml files :)
Here is a howto:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource

There is no wrong way to do it. Just go ahead and edit these tags:
<connection-url>jdbc:mysql://./database</connection-url> just put jdbc:mysql://localhost/YOUR_DB_NAME
<user-name>username</user-name> just put your username in here
<password>secret</password> just put your password in here

Cheers,
za-k/

<datasources> 
  <local-tx-datasource>  
    <jndi-name>MySQLDS</jndi-name> 
    <connection-url>jdbc:mysql://./database</connection-url> 
    <driver-class>com.mysql.jdbc.Driver</driver-class> 
    <user-name>username</user-name> 
    <password>secret</password> 
    <connection-property name="socketFactory">com.mysql.jdbc.NamedPipeSocketFactory</connection-property> 
 
    <!-- Typemapping for JBoss 4.0 --> 
    <metadata> 
      <type-mapping>mySQL</type-mapping> 
    </metadata> 
 
  </local-tx-datasource> 
</datasources> 

Open in new window

0
 
McJava1967Author Commented:
I'm home sick, and I've been googling for a couple of hours on this. Thank you!

0
All Courses

From novice to tech pro — start learning today.