Create A Data Script In MYSQL

Create A Data Script In MYSQL 

  • First Of all Check If mysqldump works :-
Open command prompt and type mysqldump
 if you get some thing like this -

C:\Users\SANJU>mysqldump

Usage: mysqldump [OPTIONS] database [tables]
OR     mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR     mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help

then its fine and if its not the result
  •  Goto bin directory of Mysql installation folder. It is 
C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin    for me.
  • Set The Path To Environment Variaable .(See the previous post if you dont know).
  • Now Open command prompt and type as :-

C:\Users\SANJU> mysqldump -u username -p  user> "D:\sa.sql" 

it will promt for password .

D:\sa.sql is the location for script sa.sql

Thats All You Are Done ..........................Click here For Video




1 comment:

  1. Thanks a bunch for sharing this with all folks you actually know what you are talking about! Bookmarked. Please additionally seek advice from my website =). We could have a hyperlink trade arrangement among us.
    Create a MySQL database.

    ReplyDelete

Setting Spring MVC in Eclipse -Dynamic Project

Steps in Setting Up Spring MVC  The process of setting up the Spring MVC project using Eclipse is a crucial ability for anyone Java dev...

Powered by Blogger.