connect.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. drop table if exists t1,t2;
  2. show tables;
  3. Tables_in_mysql
  4. columns_priv
  5. db
  6. func
  7. help_category
  8. help_keyword
  9. help_relation
  10. help_topic
  11. host
  12. tables_priv
  13. time_zone
  14. time_zone_leap_second
  15. time_zone_name
  16. time_zone_transition
  17. time_zone_transition_type
  18. user
  19. show tables;
  20. Tables_in_test
  21. grant ALL on *.* to test@localhost identified by "gambling";
  22. grant ALL on *.* to test@127.0.0.1 identified by "gambling";
  23. show tables;
  24. Tables_in_mysql
  25. columns_priv
  26. db
  27. func
  28. help_category
  29. help_keyword
  30. help_relation
  31. help_topic
  32. host
  33. tables_priv
  34. time_zone
  35. time_zone_leap_second
  36. time_zone_name
  37. time_zone_transition
  38. time_zone_transition_type
  39. user
  40. show tables;
  41. Tables_in_test
  42. update mysql.user set password=old_password("gambling2") where user=_binary"test";
  43. flush privileges;
  44. set password="";
  45. set password='gambling3';
  46. ERROR HY000: Password hash should be a 41-digit hexadecimal number
  47. set password=old_password('gambling3');
  48. show tables;
  49. Tables_in_mysql
  50. columns_priv
  51. db
  52. func
  53. help_category
  54. help_keyword
  55. help_relation
  56. help_topic
  57. host
  58. tables_priv
  59. time_zone
  60. time_zone_leap_second
  61. time_zone_name
  62. time_zone_transition
  63. time_zone_transition_type
  64. user
  65. show tables;
  66. Tables_in_test
  67. delete from mysql.user where user=_binary"test";
  68. flush privileges;
  69. create table t1 (id integer not null auto_increment primary key);
  70. create temporary table t2(id integer not null auto_increment primary key);
  71. set @id := 1;
  72. delete from t1 where id like @id;
  73. drop table t1;