MySQL: Writing Triggers on remote server

MySQL Database is under my remote server and a JPS application running under a different server. I need help in writing a trigger for a particular table to be used for audit trail. I can open MySQL server using MySQL Front Utility and can upload JSP codes through FTP to that server.
My question is, how I can write triggers using remote server for MySQL Database?
