易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 462|回复: 0
收起左侧

数据库mariadb删除表操作记录

[复制链接]
发表于 2022-10-26 09:58:51 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
Database changed
" M. @+ [4 E3 c+ l. B  SMariaDB [zabbix]> show tables;0 \; o" L: `9 w2 I7 }6 y  u+ G
+------------------+5 j3 {3 d) \4 o" ^7 I
| Tables_in_zabbix |2 E7 b  T2 D0 z0 v3 H
+------------------+# p% @, ~8 n- h) [# W* j
| group_discovery  |$ H4 c. H' K* K+ y& j, Y+ y
| group_prototype  |! A) K8 I* V- W9 U9 I
| groups           |/ _! w$ |7 D1 N8 Q
| hosts            |/ Z) V0 Q" s! M0 f" ^- n
| maintenances     |9 {0 {6 `' z) G1 ]2 |
| screen_user      |1 u. F6 l3 a+ h: k
| screen_usrgrp    |
6 ^/ i- w( X5 [6 p& ?| screens          |4 F7 A% n: m2 o
| screens_items    |
, l7 Y5 u; n) N+ A# M| slideshows       |
/ ?/ R; u, T; t7 K- R| users            |
4 w, R& B0 d( \  k' P+------------------+% M( i: ]' `  o' n+ l
11 rows in set (0.00 sec)
( Y5 z0 t6 t/ F/ e7 Q+ x0 L
, b# W" M4 k9 DMariaDB [zabbix]> drop tables group_discovery group_prototype;1 i( h  K) F0 a4 H: p2 F0 x
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group_prototype' at line 1- B5 C* m4 M! C( ]. i
MariaDB [zabbix]> drop tables group_discovery,group_prototype;- H, }) F& Z6 a6 {2 {! U
Query OK, 0 rows affected (0.11 sec)
7 ]- G' s9 ]6 W! k5 H+ t' e( H) d7 Q5 L# F& p
MariaDB [zabbix]> drop tables groups,hosts,maintenances, screen_user,screen_usrgrp,screens,screens_items,slideshows,users;
3 M) p# u' e2 }5 dQuery OK, 0 rows affected (0.28 sec)
# b% a5 N* x/ d# h% i  J
; y& V/ E; a: T- zMariaDB [zabbix]> show tables;8 H/ O: w1 h/ w5 N2 b  F
Empty set (0.00 sec)
; E$ K; ~  H$ ?" S; w# E
2 P2 B* |7 M& V/ X: M$ ^, ?+ |7 @& [. B
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 13:41 , Processed in 0.036891 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表