Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Importing a MYSQL database dump from command line

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 324
    Comment on it

    While importing databases dump that are of large sizes in GB you may find issues with PHPmyadmin and some other clients also. To import the database you can use the command.

    mysql -uusername -p databasename < sqldump.sql
    

    where username is the username for your database, databasename is the name of database and sqldump.sql is your MYSQL dump file.

    You would be prompted for the password for the user given in the command so keep that handy.

    Hope it helps.

 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: