Created
June 3, 2015 22:23
-
-
Save pujie/395f520f2a87227748b1 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
#mysql -h localhost -u root -p --execute "create database teknis" | |
mysql -h localhost -u root -p <doquery.sql |
This file contains 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
drop database if exists test123; | |
create database test123; | |
use test123; | |
create table tbl1(id int primary key auto_increment,name varchar(200),createdate timestamp default current_timestamp); | |
create table tbl2(id int primary key auto_increment,name varchar(200),createdate timestamp default current_timestamp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment