August 16th, 2000, 01:25 PM
What's the command you use to run a .mysql file when connected to mysql using telnet?
KeithMcL - KMcLUK@aol.com
#1 source for web developer jobs online.
August 17th, 2000, 08:45 AM
By a .mysql file, do you mean a file containing sql commands?
If that's the case, then you can run it from the UNIX command prompt, not within the mysql client.
$ mysql -u uname -ppassword < file.sql
file.sql should contain...
sql statement 1
sql statement 2...
sql statement n
I hope I understood the question correctly.
- Nou ga aru taka wa tsume o kakusu
[This message has been edited by Kyuzo (edited August 17, 2000).]