Is this line 258 in WeatherSenseWireless.sql 258 ALTER TABLE `AS433MHZ` ADD PRIMARY KEY (`ID`); ?
If so, you don't need to execute the SQL script again.
Once the database is built by the script, the database structure is created. If you run it again it will fail with that error since the primary key was created the first time it was run - you can only have one primary key on a table.
If this was a purchased SD card, I would assume (might be wrong) that the database had already been created in the SD card image.