How to provide Select permissions to user on limited Tables in MySQL Database
Below Syntax can be used to provide select permission on table/s in MySQL.
Syntax:
To provide Select permission on Single Table in MYSQL
MySQL > GRANT select ON tableName to 'UserName'@'Host'
MySQL > GRANT select ON DatabaseName.* to 'UserName'@'Host'
Example :
Let's say that if we have table test in Techbrothers Database and we would like to provide Select permission to user "Aamir" in MySQL. we can use below statement
MySQL > GRANT select ON Techbrothers.test to 'Aamir'@'localhost'
If we want to provide Select permission on all the tables in Techbrothers Database to user account Aamir in MySQL, we can use below statement
MySQL > GRANT select ON Techbrothers.* to 'Aamir'@'localhost'
Grant Select privilege to Table or Tables in MySQL server to user
Aivivu chuyên vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
vé từ mỹ về việt nam
vé máy bay từ Toronto về việt nam
mở chuyến bay từ nhật về việt nam
mở lại đường bay việt nam - hàn quốc
Vé máy bay từ Đài Loan về Việt Nam
danh sách khách sạn cách ly tại hà nội
Thanks for update you can also check gb instagram for ios
ReplyDelete