Access database via custom program?

Hey I want to make a database that you can search stuff in like a name on my site but also want to be able to access the same database via a Visual Studio program made in VB.Net is this possible to do? Or is there a way to change the database to MySQL or something?