You must be doing something wrong.
I just created a test database and did the above, and all was successful.
First, you mention query. You don't do query, you use the "SQL" tab and enter this in the box:
CREATE TABLE phpbb_ip_tracking_config ( max INT(15) NOT NULL DEFAULT '0' ); CREATE TABLE phpbb_ip_tracking ( ip varchar(15) NOT NULL DEFAULT '', time int(11) NOT NULL DEFAULT '0', located varchar(255) NOT NULL DEFAULT '', referer varchar(255) NOT NULL, username varchar(50) NOT NULL DEFAULT '' ); INSERT INTO phpbb_ip_tracking_config VALUES (25000);
Then click "GO"
You should get the following when done]Your SQL query has been executed successfully[/code]
[code=sql]SQL query]
[code=sql]Run SQL query/queries ON DATABASE aaquac5_test]