Skip to content

Instantly share code, notes, and snippets.

@SebastienElet
Created July 30, 2014 09:10
Show Gist options
  • Save SebastienElet/ebbc7db6a0a46452a869 to your computer and use it in GitHub Desktop.
Save SebastienElet/ebbc7db6a0a46452a869 to your computer and use it in GitHub Desktop.
Mysql 5.6 connect
#!/usr/bin/expect
spawn mysql -u root -p
expect "assword:"
send "<pass>\r"
interact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment