From: Scott M. S. <sc...@ki...> - 2003-02-27 14:25:06
|
In this case, I'd ask which version of MySQL you are using. IIRC the "sour= ce" command was added to the "mysql" client in 3.23.9. I would assume (dangero= us=20 as that is!) that you have an older version which does not include that=20 command. As a work-around, you could always run from shell (or modify the script to= =20 run): 'mysql [-u user -p] dbname < /tmp/rebuildpeople-f[an|reak].sql' If you are using a more recent version, then I'm stumped and it's someone= =20 else's turn to offer advice ;) On Thu, Feb 27, 2003 at 08:45:05AM -0500, shane wrote: > Sorry - I pasted the wrong error msg. That was from the second time I ran= it,=20 > and it hit the existing temp file and errored. Here's the original error = msg: >=20 > http://sourceforge.net/tracker/?func=3Ddetail&aid=3D694349&group_id=3D442= 1&atid=3D104421 >=20 > DBD::mysql::db do failed: You have an error in your SQL syntax near 'sour= ce=20 > /tmp/rebuildpeople-fan.sql' at line 1 at=20 > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/DB/Utility.pm line = 590. > Error in=20 > library:main:/usr/local/src/slash/slash/plugins/Zoo/rebuildPeople:41:sour= ce=20 > /tmp/rebuildpeople-fan.sql > DBD::mysql::db do failed: You have an error in your SQL syntax near 'sour= ce=20 > /tmp/rebuildpeople-freak.sql' at line 1 at=20 > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/DB/Utility.pm line = 590. > Error in=20 > library:main:/usr/local/src/slash/slash/plugins/Zoo/rebuildPeople:45:sour= ce=20 > /tmp/rebuildpeople-freak.sql -- Scott M. Sorrentino <sc...@ki...> http://www.kill-hup.com/ Kill-HUP.com: What those evil hackers don't want you to know... 9:20am up 39 days, 17:38, 2 users, load average: 0.04, 0.06, 0.01 |