I've multiple servers, some of them are mysql 5.0.*, some of them are version 4.1.*.
If I'm at a 5.0 server, the 'profiling' query option appears. This works fine, but if you enable profiling queries and then navigate to a mysql < 5.0 server and execute a query phpMyAdmin still issues the 'SET PROFILING =1;' command, which results in a '#1193 - Unknown system variable 'PROFILING' error.
Since the 'profiling' checkbox isn't shown, I can't disable this feature, so I have to navigate to a >= 5.0 server to disable it first.
Proposed fix: Hiding the profiling checkbox on pre 5.0 servers is fine, but don't execute the SET PROFILING command either.
Tested with phpMyAdmin 2.11.1.2
Logged In: YES
user_id=210714
Originator: NO
Fixed in subversion, thanks for reporting.