Hello Abhijit Thorat,
MySQL is not supported by our BSP. If you wish to integrate MySQL on your image you would need to either create a new recipe that builds and installs it, or you may cross compile outside Yocto and install it on your created image.
I couldn’t find MySQL recipes as part of the Yocto Project so you would need to create a recipe from scratch. This is not trivial but there is a lot of documentation online which may help. I would recommend starting with the Yocto Project Manual:
https://www.yoctoproject.org/docs/2.5/mega-manual/mega-manual.html#new-recipe-writing-a-new-recipe
If you would like to Cross Compile outside of Yocto you may extract the toolchain by following the instructions on the i.MX Yocto Project User’s Guide.
I hope this helps!
Regards,