write a c++ program to add a user to mysql.the user should be
permitted to only "insert" into the given database
Answer Posted / riyas_isno
CREATE PROCEDURE createUser (OUT param1 INT)
BEGIN
CREATE USER 'riyaz'@'localhost' IDENTIFIED BY 'riyaz';
GRANT insert ON db1.* TO 'riyaz'@'localhost';
END
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is mysql good for large database?
What is truncate in mysql?
How do you restart mysql?
What is int mysql?
How can you add and remove any column of a table?
How do you select a table?
Do I need to pay for mysql?
What is myisam?
Does mysql use tcp or udp?
How can I insert images into a Mysql database?
How to show all tables with 'mysql'?
What is mysql optimization?
Is mysql same as mariadb?
What is mysql database server?
Do I need python for mysql?