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
What is mysql procedure?
State the differences between mongodb and mysql.
Is mysql free software?
How many ways to get the current time?
What is msql?
What is procedures in mysql?
What is the difference between unix timestamp and mysql timestamp?
What is mysql root?
How to do login in mysql with unix shell.
How do I find the database name in mysql?
What sql does mysql use?
Explain the storage engines in mysql?
Which mysql function is used to concatenate string?
What causes mysql too many connections?
How to use rank function in mysql?