📄 connect.result
字号:
drop table if exists t1,t2;show tables;Tables_in_mysqlcolumns_privdbfunchelp_categoryhelp_keywordhelp_relationhelp_topichostprocprocs_privtables_privtime_zonetime_zone_leap_secondtime_zone_nametime_zone_transitiontime_zone_transition_typeusershow tables;Tables_in_testconnect(localhost,root,z,test2,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'root'@'localhost' (using password: YES)connect(localhost,root,z,test,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'root'@'localhost' (using password: YES)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_mysqlcolumns_privdbfunchelp_categoryhelp_keywordhelp_relationhelp_topichostprocprocs_privtables_privtime_zonetime_zone_leap_secondtime_zone_nametime_zone_transitiontime_zone_transition_typeusershow tables;Tables_in_testconnect(localhost,test,,test2,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)connect(localhost,test,,"",MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)connect(localhost,test,zorro,test2,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)connect(localhost,test,zorro,test,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)update mysql.user set password=old_password("gambling2") where user=_binary"test";flush privileges;set password="";set password='gambling3';ERROR HY000: Password hash should be a 41-digit hexadecimal numberset password=old_password('gambling3');show tables;Tables_in_mysqlcolumns_privdbfunchelp_categoryhelp_keywordhelp_relationhelp_topichostprocprocs_privtables_privtime_zonetime_zone_leap_secondtime_zone_nametime_zone_transitiontime_zone_transition_typeusershow tables;Tables_in_testconnect(localhost,test,,test2,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)connect(localhost,test,,test,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)connect(localhost,test,zorro,test2,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)connect(localhost,test,zorro,test,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)delete from mysql.user where user=_binary"test";flush privileges;create table t1 (id integer not null auto_increment primary key);create temporary table t2(id integer not null auto_increment primary key);set @id := 1;delete from t1 where id like @id;drop table t1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -