O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Step 2: Install MySQL

Use the appropriate installer to install MySQL on your computer. After MySQL is up and running, run the init_database.sql and populate_database.sql scripts located in the \examples directory on the CD-ROM using the MySQL \. command. For example, on a Windows operating system with the CD-ROM in the G:\ drive (your input is in bold):

C:\mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.23.45-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> \. G:\examples\init_database.sql
.
.
.
mysql> quit

C:\mysql -u demo -p stocktrack
Password: <type "struts"> Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required