Then import it into MySQL 4 using the following set of commands:
mysqladmin -p create dbname mysql -p -D dbname <dbname.sql mysql -p -D dbname <dbname-fix.sql
If you have Autoincrement fields in MySQL5, they may or may not be exported correctly, (depends on the base storage type, and whether it's 5.0.19 or earlier). If you find that the import fails on the MySQL 4 side, then use this mysql-aifix script: Paste the following contents into a file named mysql-aifix, then chmod +x it, then run: mysql-aifix dbname.sql. Finally, import into MySQL4.