1. login mysql .
# mysql -uroot -p******
2. utk lihat senarai user
mysql> select user from mysql.user;
3. atupun utk lihat user dan host dia;
mysql> select user, host from mysql.user;
4. kalau nak delete ;
mysql> describe mysql.user;
4. boleh describjuga utk lihat apa table dalamnya;
mysql> delete from mysql.user where user='name';
gantikan name tu kpd nama user
No comments:
Post a Comment