
December 17th, 2003, 03:46 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
using 'source filename' command
when using the 'source filename' command to run a script, can i specify a local filename when accessing mysql remotely?? this is what i am doing...
mysql> source c:\temp\script.sql
and am getting this response...
ERROR:
Failed to open file 'c:\temp\script.sql', error: 2
error: 2, i understand is a file not found error...
the other alternative is to upload the script to the remote server that i am using and enter the path of the script, but this could be difficult as the server is a shared server admined by my ISP and i don't know the entire path from the root of the server and i am not sure if the ISP will disclose that info...
so if there is anyway to run a local script it would be cool if someone could tell me
cheers
|