+----------------------+----------------------+| variable_name | value |+----------------------+----------------------+| back_log | 5 || connect_timeout | 5 || basedir | /var/local/ || datadir | /usr/local/var/ |....
+----------------------+----------------------+| variable_name | value |+----------------------+----------------------+| back_log | 5 || connect_timeout | 5 || basedir | c:/mysql/ || datadir | c:/mysql/data/ |....
%mkdir datadir/db_name%chmod 700 dadadir/db_name
%rm -rf datadir/db_name
990509 7:37:09 492 connect [email protected] on test 492 query show databases 492 query show tables 492 field list tbl_1 492 field list tbl_2 ...990509 7:34:22 492 query create table my_tbl (val int)990509 7:34:34 492 query insert into my_tbl values (1)990509 7:34:38 492 query drop table my_tbl 990509 7:34:40 492 quit
use test;create table my_tbl (val int);insert into my_tbl values(1);drop table my_tbl;
# time: 990507 7:32:42# [email protected]: paul [paul] @ localhost []use test;create table my_tbl (val int);# [email protected]: paul [paul] @ localhost []insert into my_tbl values(1);# time: 990507 7:32:43# [email protected]: paul [paul] @ localhost []drop table my_tbl;
990509 7:23:31 4 query update user set password=password("secret") where user="root"
新闻热点
疑难解答