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 version: 3.23.45-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> \  . G:\examples\populate_database.sql  . . . mysql>  quit  


Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net