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

How to retain the space of the td after hidding it in Jquery

defining functions clojure

Integrating Struts2 with Spring Security using Custom Login Form