您好,欢迎来到化拓教育网。
搜索
您的当前位置:首页MySQL使用技巧

MySQL使用技巧

来源:化拓教育网


欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 (1)查看数据库中表的字符编码 以tigase数据库为例 show table status from tigase (2)修改数据库中的表的编码 以数据库tigase中的msg_history表为例 alter table msg_history convert to charact

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入

  (1)查看数据库中表的字符编码

  以tigase数据库为例

  show table status from tigase

  (2)修改数据库中的表的编码

  以数据库tigase中的msg_history表为例

  alter table msg_history convert to character set utf8

  (3)查看mysql中的线程

  show full processlist

  (4)查看数据库中的存储过程

  选择数据库后,执行show procedure status

  (5)查看存储过程的创建代码

  选择数据库后,执行show create procedure proc_name

Copyright © 2019- huatuo9.cn 版权所有 赣ICP备2023008801号-1

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务