Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. file commans.sql :
  2.  
  3. create database IF NOT EXISTS btral;
  4. use btral;
  5. create table (
  6. name varchar(17);
  7. )
  8. ;
  9.  
  10. ************************
  11. bash:
  12. #!/bin/bash
  13.  
  14.  
  15. #mysql -uroot -p111111 -e 'create database IF NOT EXISTS testing'
  16. mysql --host=localhost --user=root --password=111111 < commands.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement