What I have done is as follows: mysql> show profile; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'profile' at line 1 mysql> show profiles; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'profiles' at line 1 mysql> set profiling=1; ERROR 1193 (HY000): Unknown system variable 'profiling' mysql> select version(); +-------------+ | version() | +-------------+ | 5.1.21-beta | +-------------+ 1 row in set (0.00 sec)
Why my profile doesn't work at all,anybody can help me.