alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (petclinic_db_setup_mysql.txt)

This example Spring Framework source code file (petclinic_db_setup_mysql.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

connector/j, connector/j, copy, download, hsql, if, jdbc, mysql, mysql, open, petclinic, petclinic, settings, settings

The Spring Framework petclinic_db_setup_mysql.txt source code

================================================================================
===        Spring PetClinic sample application - MySQL Configuration         ===
================================================================================

@author Sam Brannen

--------------------------------------------------------------------------------

1) Download and install the MySQL database (e.g., MySQL Community Server 5.0.x),
   which can be found here: http://dev.mysql.com/downloads/

2) Download Connector/J, the MySQL JDBC driver (e.g., Connector/J 5.1.x), which
   can be found here: http://dev.mysql.com/downloads/connector/j/
   Copy the Connector/J JAR file (e.g., mysql-connector-java-5.1.5-bin.jar) into
   the db/mysql directory.

3) Create the PetClinic database and user by executing the "db/mysql/createDB.txt"
   script.

4) Open "build.properties" in PetClinic's root directory and follow the
   instructions in section: "NOTE: To CONFIGURE the DATABASE...".

5) If you did not already do so in step 4, open "src/jdbc.properties", comment
   out all properties in the "HSQL Settings" section, uncomment all properties
   in the "MySQL Settings" section, and verify that your connection settings
   are consistent in both "build.properties" and "src/jdbc.properties".

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework petclinic_db_setup_mysql.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.