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
If you enjoy our post, feel free to subscribes to our rss feeds















