100% possible, easy, no. Several ways to approach it. Not so easy, and once attempted, make a non blocking mysql interface for the mud.
Status on last attempt: Crashes the driver hard
Another way, create a program that acts as an intermediary between the mud and the mysql server.
Never attempted, but much easier, theres a nice mysql library already, wouldnt be hard to make a socket program to sit in the background, mud connects to it via sockets, sends commands, intermediary program handles queueing and actual communication with mysql.
Third option, text files that another program grabs and processes. Clunky but easy.