How to create the databases for this book.

Follow these instructions to Install MySQL: Primer-Installing-MySQL-on-Windows

The directory that contains the setup_DB.bat file:

  • c:\murach\servlet_jsp\db

Database Descrition
murach The database that's used for section 3 of the book
music The database that's used for the Music Stroe application that's presented in section 5 of this book

  • Use the Windows Explorer to find the setup_db.bat file that's in the directory shown above.
  • Double-click on the file to run it. This should display a DOS windows.
  • For the password, enter the password that you used for MySQL root. It should be "sesame".
  • When the bat file finishes, press any key to continue.

Warning:

if you did not add the MySQL server path your %PATH%, the script will fail.