Our specific requirement is to disable mysql database user from logging in through console i.e. the user should be able to authenticate with the database only through application.
The application user should not be able to login to database using the command mysql -u xxx -p