Open Remote host MySQL

1. nano /etc/mysql/mysql.conf.d/mysqld.cnf 2. ค้นหาคำว่า bind-address = 127.0.0.1 ….. ในกรณีหาไม่พบให้เข้า Path /etc/mysql แล้วใช้คำสั่ง  #grep -iR “bind-address” ./* ระบบจะแสดง Path  ที่พบคำว่า bind-address แล้วเข้าไปแก้ไขไฟล์นั้น root@freeradius:/etc/mysql# grep -iR “bind-address” ./* ./mysql.conf.d/mysqld.cnf:bind-address = 127.0.0.1 3. ใส่ comment หน้า #bind-address = 127.0.0.1 4. Ctrl+o เซฟ , Ctrl+x ออก 5. สั่ง Restart Service   /etc/init.d/mysqld restart ภักดี โตแดงนักวิชาการคอมพิวเตอร์ งานพัฒนาระบบเครือข่ายเทคโนโลยีดิจิทัล