title: Creating a custom map with MapBox and TileMill from SQL 2005
body: <p>I have a requirement to build a web application with geo-mapping that will display pins on a map and the data comes from my sql 2005 database. This intranet application will be hosted on our secure server and will not have access to any outside resources and cannot use any external api's.</p>
  
  <p>After searching on the internet, I found that I can use leaflet.js and mapbox to handle this although I have to move all of the files locally. I also need to create a custom map with TileMill and then copy the tiles to my applications. I tried to create my custom map but I cannot create any layers because it is asking for a datasource to a csv file or sqllite and I need to pass the data from my sql 2005 database. Is it possible to create a custom map with tilemill and provide my own datasource? Am I going about this the right way? Is there a better way to create a geo-mapping application that has to be accessed locally?
  Thanks</p>