Advertisement
Virajsinh

Import Database From Mac Shell Script

Nov 30th, 2022
1,439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PowerShell 0.25 KB | Source Code | 0 0
  1. #Import Database From Mac Shell Script Save "ANY_NAME.sh"
  2. # Set Permission "sudo chmod 755"
  3. #!/usr/bin/env bash
  4.  
  5. USERNAME=$(id -un) #Code By VeeRa
  6. /Applications/xampp/xamppfiles/bin/mysql -u root -p cipheprv_myrai < /Users/$USERNAME/Downloads/export_db.sql
Tags: mac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement