mysty Posted August 1, 2006 Share Posted August 1, 2006 I am reading a book to learn PHP and mysql using Dreamweaver. There is a step in the introduction to databases where you take a database, mydatabase.SQL and then load mysql and then type " source c:/mysql/data/mydatabase.sql". After it processes several files, there is a mysql database set up in the data directory. There are several tables etc. The book does not describe what is happening with the mysql command "source". Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 2, 2006 Share Posted August 2, 2006 SOURCE runs a file (rather than typing a whole bunch of stuff).http://www.developerfusion.co.uk/show/3998/2/ Quote Link to comment Share on other sites More sharing options...
fenway Posted August 2, 2006 Share Posted August 2, 2006 Not to mention that source is a linux command executed at a command prompt. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.