Jump to content

'SOURCE' alternative?


d22552000

Recommended Posts

  • 4 months later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.