New Search

If you are not happy with the results below please do another search

1 search result for:

1

mysql ubuntu ไม่มี root password แต่จะเข้าดูข้อมูล

ที่ root linux สั่งหยุด service mysql /etc/init.d/mysql stop mysqld –skip-grant-tables –skip-networking & หรือ mysqld_safe –skip-grant-tables & mysql -u root ระบบจะเข้ามาที่ mysql> แสดงฐานข้อมูลทั้งหมดใช้ show databases; เลือกใช้ฐานข้อมูล use dbname; เช่นฐานข้อมูลชื่อ datax  ก็ใช้ use datax; เมือ่เลือกฐานได้แล้ว จะตารางทั้งหมด พิมพ์ show tables; เช่น mysql> show tables; +——————–+ | Tables_in_datax | +——————–+ | name                  […]