/home/apiba671/.my.cnf => tidak /home/apiba671/.mysql_history => tidak /etc/my.cnf => BISA DIBACA (202B) # # This group is read both both by the client and the server # use it for options that affect everything # [client-server] # # include all files from the config directory # !includedir /etc/my.cnf.d /etc/cwp/mysql.conf => tidak /usr/local/cwp/.conf/mysql_root_pass => tidak /root/.my.cnf => tidak --- coba koneksi mysql --- OK localhost apiba671 / *** => 10.3.39-MariaDB grant: GRANT USAGE ON *.* TO `apiba671`@`localhost` IDENTIFIED BY PASSWORD '*A67A88474E4060C0C3B89D18D695F6DE3EB4D2E0' grant: GRANT ALL PRIVILEGES ON `apiba671\_%`.* TO `apiba671`@`localhost` GAGAL localhost apiba671 / (kosong) => SQLSTATE[HY000] [1045] Access denied for user 'apiba671'@'localhost' (using password: NO) GAGAL localhost root / (kosong) => SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) GAGAL localhost root / *** => SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) OK 127.0.0.1 apiba671 / *** => 10.3.39-MariaDB grant: GRANT USAGE ON *.* TO `apiba671`@`localhost` IDENTIFIED BY PASSWORD '*A67A88474E4060C0C3B89D18D695F6DE3EB4D2E0' grant: GRANT ALL PRIVILEGES ON `apiba671\_%`.* TO `apiba671`@`localhost` --- sqlite3 test --- sqlite3 OK