server – phpMyAdmin exceeds the timeout when executing the table creation query

When using phpMyAdmin outside the local network, using a firewall, the timeout occurs when a query is executed to create tables. Errors are not listed in the MySQL server log files. Does anyone else have a similar problem?

The same script runs fine when connected from within the local network. The web server and the database are run on the same machine.