View Review Details
| Book: |
|
Learning SQL |
| Subject: |
|
Using the example |
| Date: |
|
2008-11-14 08:09:39 |
| From: |
|
johns2947
|
|
|
The example does work (in Windows) if you follow the directions in the book.
The book tells you to login to mysql and then to create a database named 'bank'.
mysql> create database bank;
Then run the command
mysql> use bank;
Now you can run the source command for the example that you downloaded.
For example, I downloaded the example into my e: drive, so the source command reads:
mysql> source e:learningsqlexample.sql;
Notes: Windows XP does not require the "/" or "\" for the root directory (such as C: or E:), but will need the "\" if you go to a subdirectory.
What a pain learning this stuff from a book is! Reminds me of the frustration of teaching myself DOS 3.1 !
|
-
Using the example, December 08 2008
Submitted by
jaggi bn
[Respond | View]
the review of johns2947 was very helpful. I was using \ while using windows but after the clue from the reviewer johns2947 i changed the command accordingly and it worked.
thanks
jaggi bn
|
| |