The Grid is populated with data using its dataSource. The dataSource is expecting the data from the server in the following formats ( JSON, JSONP, oData or XML.):
In general, the Grid is not aware of the type of the database, it can be connected to any server-side technology that can return the data in one of the listed formats.
In this case, a server-side technology from your choice have to be used in order to take the data from the database and pass it to the Grid.
Let me know if you need additional details on this matter.