2002-12-05 12:01:15 +01:00
|
|
|
show tables;
|
|
|
|
Tables_in_mysql
|
|
|
|
columns_priv
|
|
|
|
db
|
|
|
|
func
|
2003-02-12 20:55:37 +01:00
|
|
|
help_category
|
2003-05-29 23:47:31 +02:00
|
|
|
help_keyword
|
2003-02-12 20:55:37 +01:00
|
|
|
help_relation
|
|
|
|
help_topic
|
2002-12-05 12:01:15 +01:00
|
|
|
host
|
|
|
|
tables_priv
|
2004-06-18 08:11:31 +02:00
|
|
|
time_zone
|
|
|
|
time_zone_leap_second
|
|
|
|
time_zone_name
|
|
|
|
time_zone_transition
|
|
|
|
time_zone_transition_type
|
2002-12-05 12:01:15 +01:00
|
|
|
user
|
|
|
|
show tables;
|
|
|
|
Tables_in_test
|
|
|
|
grant ALL on *.* to test@localhost identified by "gambling";
|
|
|
|
grant ALL on *.* to test@127.0.0.1 identified by "gambling";
|
|
|
|
show tables;
|
|
|
|
Tables_in_mysql
|
|
|
|
columns_priv
|
|
|
|
db
|
|
|
|
func
|
2003-02-12 20:55:37 +01:00
|
|
|
help_category
|
2003-05-29 23:47:31 +02:00
|
|
|
help_keyword
|
2003-02-12 20:55:37 +01:00
|
|
|
help_relation
|
|
|
|
help_topic
|
2002-12-05 12:01:15 +01:00
|
|
|
host
|
|
|
|
tables_priv
|
2004-06-18 08:11:31 +02:00
|
|
|
time_zone
|
|
|
|
time_zone_leap_second
|
|
|
|
time_zone_name
|
|
|
|
time_zone_transition
|
|
|
|
time_zone_transition_type
|
2002-12-05 12:01:15 +01:00
|
|
|
user
|
|
|
|
show tables;
|
|
|
|
Tables_in_test
|
2004-07-08 15:54:07 +02:00
|
|
|
update mysql.user set password=old_password("gambling2") where user=_binary"test";
|
2002-12-05 12:01:15 +01:00
|
|
|
flush privileges;
|
2004-08-26 17:26:38 +02:00
|
|
|
set password="";
|
2004-07-30 22:05:08 +02:00
|
|
|
set password='gambling3';
|
|
|
|
ERROR HY000: Password hash should be a 41-digit hexadecimal number
|
2003-07-08 00:36:14 +02:00
|
|
|
set password=old_password('gambling3');
|
2002-12-05 12:01:15 +01:00
|
|
|
show tables;
|
|
|
|
Tables_in_mysql
|
|
|
|
columns_priv
|
|
|
|
db
|
|
|
|
func
|
2003-02-12 20:55:37 +01:00
|
|
|
help_category
|
2003-05-29 23:47:31 +02:00
|
|
|
help_keyword
|
2003-02-12 20:55:37 +01:00
|
|
|
help_relation
|
|
|
|
help_topic
|
2002-12-05 12:01:15 +01:00
|
|
|
host
|
|
|
|
tables_priv
|
2004-06-18 08:11:31 +02:00
|
|
|
time_zone
|
|
|
|
time_zone_leap_second
|
|
|
|
time_zone_name
|
|
|
|
time_zone_transition
|
|
|
|
time_zone_transition_type
|
2002-12-05 12:01:15 +01:00
|
|
|
user
|
|
|
|
show tables;
|
|
|
|
Tables_in_test
|
2004-07-08 15:54:07 +02:00
|
|
|
delete from mysql.user where user=_binary"test";
|
2003-06-13 11:17:31 +02:00
|
|
|
flush privileges;
|
2005-08-30 15:22:19 +02:00
|
|
|
use test;
|
|
|
|
drop table if exists t1;
|
|
|
|
Warnings:
|
|
|
|
Note 1051 Unknown table 't1'
|
|
|
|
create table t1 (id integer not null auto_increment primary key);
|
|
|
|
drop table if exists t2;
|
|
|
|
Warnings:
|
|
|
|
Note 1051 Unknown table 't2'
|
|
|
|
create temporary table t2(id integer not null auto_increment primary key);
|
|
|
|
set @id := 1;
|
|
|
|
delete from t1 where id like @id;
|
|
|
|
use test;
|
|
|
|
drop table if exists t2;
|
|
|
|
Warnings:
|
|
|
|
Note 1051 Unknown table 't2'
|
|
|
|
drop table if exists t1;
|