<http://forum.pspad.com/read.php?f=2&i=10340&t=10340> 
----------------------------------------------------------------

Hello,

I am having trouble getting mySQL to execute a .sql file when using the
external compiler option in PSPAD.

Compiler: c:\mysql\bin\mysql.exe
Parameter: -B -uusername -ppassword < "%File%"

Where "%File%" resolves to c:\temp\procedure.sql

When i run the command it is as though it isn't seeing the < charachter. 
I have tried putting it in quotes but with no effect.  

The only way i seem to be able to get the command to exexute is to pass it
as a command to a command prompt through the compiler.

Compiler: cmd.exe
Parameter: /c "c:\mysql\bin\mysql.exe" -B -uusername -ppassword <
"%File%"

Has anyone else had any luck getting this to work?  Any idea's?

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to