You may have received an error during the installation of Gallery 2 and your installation log might show:
... mysqlt error: [1289: The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working]
This error usually occurs when running MySQL on a MS Windows server because the InnoDB engine is disabled by default. Alternatively, on FreeBSD, you could have modified your /etc/my.cnf and included skip-innodb in which case you could comment it out.
You have two options:
skip-innodb
# skip-innodb
Now you can try to install Gallery again (redo all installation wizard steps).
In the database setup step of the Gallery installer, pick the "MySQL (versions before v3.23)" driver.