I have been using MySQL for about 24 hours, so I apologize in advance for my "newbie-ness."<br>
<br>
I am sitting at a mysql prompt inside the client program, trying to figure out how to pass a command file I have edited with the \e (vi) command. I have the file created whereing I am simply trying to create a simple table.<br>
<br>
Now, the problem: How do I pass this command file to mysql?<br>
<br>
I have tried:<br>
<br>
mysql> run <command-file><br>
<br>
mysql> @commandfile<br>
<br>
mysql> <command-file><br>
<br>
And other combinations and permutations to know avail. I could not find anything in the documentation relating to this (but then I am not sure what term they use for what I am calling "command files."<br>
<br>
Ideas? THANKS!<br>
<br>
pklocke
<br>
I am sitting at a mysql prompt inside the client program, trying to figure out how to pass a command file I have edited with the \e (vi) command. I have the file created whereing I am simply trying to create a simple table.<br>
<br>
Now, the problem: How do I pass this command file to mysql?<br>
<br>
I have tried:<br>
<br>
mysql> run <command-file><br>
<br>
mysql> @commandfile<br>
<br>
mysql> <command-file><br>
<br>
And other combinations and permutations to know avail. I could not find anything in the documentation relating to this (but then I am not sure what term they use for what I am calling "command files."<br>
<br>
Ideas? THANKS!<br>
<br>
pklocke