Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Connecting to a Real Database > 4.1. Setting Up MySQL

Setting Up MySQL

MySQL is a free download that is available from http://dev.mysql.com for every major computing platform. You’ll want to download and install the most current MySQL distribution available for your platform. We’ll be working from the MySQL Standard 4.1.8 GA version.

We’ll assume you can follow the instructions for installing MySQL on your platform. Once you have MySQL running, you’ll need to create a database to be used by JBoss. You’ll also need to create a database user that has access to the JBoss database for JBoss to use.

How do I do that?

MySQL is administered using the mysql command found in your MySQL installation. On our machine it is found in /usr/local/mysql/bin/mysql. You’ll want to run with the mysql client as the root user, using the -u option:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint