Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file commans.sql :
- create database IF NOT EXISTS btral;
- use btral;
- create table (
- name varchar(17);
- )
- ;
- ************************
- bash:
- #!/bin/bash
- #mysql -uroot -p111111 -e 'create database IF NOT EXISTS testing'
- mysql --host=localhost --user=root --password=111111 < commands.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement