×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Massimo Zappino
Added: Jan 23, 2016 2:43 PM
Modified: Aug 28, 2017 12:28 PM
Views: 19
  1. # method 1
  2.  
  3. SET PASSWORD FOR root@localhost=PASSWORD('');
  4.  
  5. #method 2
  6.  
  7. mysqladmin -u root -pCURRENTPASSWORD password ''