- 
      
- 
        Save annelyse/ba82c148e21afa26c005ee0f1150662f to your computer and use it in GitHub Desktop. 
    bdd to big command line impot
incorect format parameter error 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | IMPORT DATABASE INTO MAMP | |
| Step One: | |
| Open a new terminal window | |
| CAREFUL: This will replace all tables in the database you specify! | |
| Step Two: | |
| /applications/MAMP/library/bin/mysql -u [USERNAME] -p [DATABASE_NAME] < [PATH_TO_SQL_FILE] | |
| Hit the Enter Key | |
| Example: | |
| /applications/MAMP/library/bin/mysql -u root -p wordpress_db < /Applications/MAMP/htdocs/backupDB.sql | |
| Quick Tip: Don’t forget that you can simply drag the file into the terminal window and it will enter the location of the file for you. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment