Running MySQL script on remote computer.

Is there any way to run a MySQL script located on a local machine on another computer located on the same network given that you already know the ip address, port number, MySQL username and password, and the database name. I am investigating trying to send the file across the network, but have not found a solution that works.

[334 byte] By [kalnakaa] at [2007-11-27 11:07:12]
# 1

What has this to do with JDBC?

BalusCa at 2007-7-29 13:20:36 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

Sure, provided you have set up a server to accept those scripts and run them. In general you can't just run executable code on somebody else's computer without having a server and permissions set up in advance; I'm sure you can see why if you think of the word "security".

DrClapa at 2007-7-29 13:20:36 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...