手冊上介紹:(SHOW PROFILES and SHOW PROFILE were added in MySQL 5.0.37. ) Important Please note that the SHOW PROFILE and SHOW PROFILES functionality is part of the MySQL 5.0 Community Server only. 2、變量profiling是用戶變量,每次都得重新啟用。 以下是我做的一些實驗。數據很明顯,就不多解釋了。 mysql> use test Database changed mysql> set profiling=1; Query OK, 0 rows affected (0.00 sec)