i have got this question to solve from one my friends.
i have searched on the net but didn’t get fruitful reply.can somebody help
Write a C/C++ program to add a user to MySQL. The user should be permitted to only “SELECT” entries from the given database.
i have got this question to solve from one my friends. i have searched
Share
Use this connector for mysql.
Then you should be executing these queries :
The above is for select to all tables in the database. If you have some table name that you want to grant access to, then mention it instead of ‘*’ ( database.tablename)