First of all credits to Boydon on the WowAce forums for making this database.
The database has 9293 mining nodes, 12099 herbalism nodes and 4429 treasure nodes for a total of 25821 nodes.
Download here:
wowhead DB v09062007.zip
Original Thread can be found here:
Wowhead Mining, Herbalism and Treasure Exported Database Thread.
You will need the Cartographer, Cartographer_Mining, Cartographer_Herbalism and Cartographer_Treasure addons which are found here:
WowAce downloads
The database zip-file needs to be extracted to your WTF\Account\Accountname\Savedvariables folder.
For those that are afraid of keyloggers the zipfile contains no executable files, only WoW LUA-Database files.