Grabbing planet info from UQM:

uqm-mineraldata.patch       - The patch to generate a text file of information
PlanetInfo-withmineral.zip  - Text file containing planet information
table.sql                   - Base SQL table definitions (used by import.pl)
import.pl                   - Lame little Perl script to import text file into
                              a mysql database
uqm-dump.zip                - The resultant database (mysqldump format)