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
How to do login in mysql with unix shell.
Can we save images in mysql database?
Is mysql running ubuntu?
Is mysql a backend?
Why is the basic difference between left join, right join and inner join?
What is mysql command line?
Can varchar be primary key?
Explain the architecture models of SQL Server?
How is myisam table stored?
How much does mysql cost?
What is flush privileges in mysql?
What is the return type of mysqli_query?
What is pdo in php mysql?
What are queries used for?
What is the limitation of mysql?