server01# mysql - u root -p เข้าระบบ
mysql> GRANT all ON customer.* TO custom@’%’ IDENTIFIED BY ‘manager’;
mysql> FLUSH PRIVILEGES;
กำหนดให้ มีสิทธ์ ทุก database ทุก table โดยมี user ชื่อ custom สามารถเข้าได้ จากทุก ip และมี password คือ manager
















Be The First To Comment
Related Post
Please Leave Your Comments Below