Home > Database > Mysql Tutorial > body text

MySQL使用技巧

WBOY
Release: 2016-06-07 15:13:39
Original
1330 people have browsed it

欢迎进入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

MySQL使用技巧

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template