You can use any DB with Tk; Tk is a GUI interface and will not be involved at all. You work with the database separately, retrieving input from the Tk interface and supplying data to it from the database code.
"Storable" is a nice, easy to use perl database module.