遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

MySQL 的一些语句

select @@tx_isolation
set transaction isolation level read uncommitted
                                read committed
                                repeatable read
                                serializable;

start transaction;

commit|rollback;

FOUND_ROWS() : select ,使用UI工具总是返回1,直接在mysql上的命令行好象又可以;
select ROW_COUNT() :update,insert,delete

---------------------------------------

查看mysql当前连接数
C:\Documents and Settings\Administrator>mysqladmin -uroot -pok -P3307 processlist

posted on 2013-05-20 10:31  遗忘海岸  阅读(167)  评论(0编辑  收藏  举报