Membuat user pada Mysql
* Membuat User untuk Akses Semua Tabel dan Hanya bisa merubah beberapa Tabel
CREATE USER 'dandi'@'localhost';
SET PASSWORD FOR 'dandi'@'localhost' = PASSWORD('dandi123#');
GRANT SELECT ON radius_users.* TO 'dandi'@'localhost';
GRANT ALL ON radius_users.radacct TO 'dandi'@'localhost';
GRANT ALL ON radius_users.radpostauth TO 'dandi'@'localhost';
FLUSH PRIVILEGES;
* Membuat User untuk Akses Semua Tabel dan Bisa merubah semua Tabel
CREATE USER 'dandi'@'localhost';
SET PASSWORD FOR 'dandi'@'localhost' = PASSWORD('dandi123#');
GRANT ALL PRIVILEGES ON *.* TO 'dandi'@'localhost';
FLUSH PRIVILEGES;
use mysql
select user, host from mysql.user;
use mysql
DROP USER 'radius'@'localhost';