@surendar-dharani there's no need to do necro-posting when you are already getting answers on your thread.
God... finally got it working!!!
Tried many libmysql.dlls and got one that works.
Thanks @SGaist for your time :)