set session wait_timeout inside of phpmyadmin for export/import
File:

libraries/dbi/DBIMysqli.class.php

138     public function connect(


before return link you can run query:

223         $link-&gt;query("SET SESSION wait_timeout = 600");
224         return $link;


This would set any session to mysql db from phpmyadmin with wait_timeout = 600.