วันจันทร์ที่ 9 พฤศจิกายน พ.ศ. 2558

Mysql no root password

1.เข้าไปDatabase /User
linux Yes ALL PRIVILEGES Yes Edit Privileges Edit PrivilegesExport Export
localhost Yes ALL PRIVILEGES Yes Edit Privileges Edit PrivilegesExport Expor

2.Edit Edit Privileges
 
Change password
  Re-type: 
 ใส่รหัสผ่านของRoot แล้ว SAVE

3.Config ที่ File :config.inc.php
/* Authentication type */
#$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['auth_type'] = 'cookie';เปลี่ยน config =>cookie
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '#1234';













ไม่มีความคิดเห็น:

แสดงความคิดเห็น