Hi
I'm writing an installer for some software that uses MySQL. I'm trying to run a .sql script to set up the database on install. Alas I'm having big problems getting it to execute at the moment.
The issue seems to arise from the fact that the moment you put a path to the .sql file inside the --execute="SOURCE " command everything falls apart. I've also tried piping it in and it doesn't work. If I run it form the command line, however, I get back errors around it not being able to handle the "\" in there.
Is there any way I can do this? Its driving me mad I've spent a day on it already :(