Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to export mysql database using command line?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 268
    Comment on it

    Sometimes when you have large databases files and you are unable to export the database manually. Then the easiest (and fastest) way is to use command line.

    Export:-

    To export the database first need to run the mysqldump.exe and give the filename with destination path where to store the file.

    C:\wamp\bin\mysql\mysql5.0.51b\bin>mysqldump.exe -u username -p password_optional databasename > C:/destination_file_name.sql
    

    You can put the destination path where you want to save the SQL file.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: