WinSCP--Run sql file on linux

  1. Move the file ---"myscript.sql"--to /var/lib/mysql/ using winscp
  2. open putty connection to the linux server
  3. type #mysql -----in the command prompt
  4. mysql>source /var/lib/mysql/myscript.sql

Comments

Popular posts from this blog

defining functions clojure

Integrating Struts2 with Spring Security using Custom Login Form