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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adrpoCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McJava1967Author Commented:
I'm home sick, and I've been googling for a couple of hours on this. Thank you!

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.