d22552000 Posted August 14, 2007 Share Posted August 14, 2007 Are there any other ways to insert queries besides; Source <filename> and actually running all the sql? Link to comment https://forums.phpfreaks.com/topic/64902-source-alternative/ Share on other sites More sharing options...
fenway Posted August 20, 2007 Share Posted August 20, 2007 Sure, have PHP do it for you. Link to comment https://forums.phpfreaks.com/topic/64902-source-alternative/#findComment-329213 Share on other sites More sharing options...
jefftanner Posted January 3, 2008 Share Posted January 3, 2008 Sure, have PHP do it for you. How for example? Reference: http://www.phpfreaks.com/forums/index.php/topic,175470.0.html I have tried through PHP/mysqli. but calling MySQL "Source" command fails: $target_dbh->query("SOURCE prep_angelfish.sql") Query error: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SOURCE prep_angelfish.sql' at line 1. -- Jeff in Seattle Link to comment https://forums.phpfreaks.com/topic/64902-source-alternative/#findComment-429614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.