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". Link to comment https://forums.phpfreaks.com/topic/16268-what-does-source-do/ 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/ Link to comment https://forums.phpfreaks.com/topic/16268-what-does-source-do/#findComment-67481 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. Link to comment https://forums.phpfreaks.com/topic/16268-what-does-source-do/#findComment-67835 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.