>>Isn't there a way to have this automatically taken care of instead of copying the 'libmysql.dll' in the executable directory >>everytime? Adding the mysql bin directory (where the dlls are located) to my path works for me.