Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # /usr/local/etc/rc.d/mysql-server stop
  2. # /usr/local/bin/mysqld_safe --skip-grant-tables &
  3. # mysql -hlocalhost -uroot -e "Update mysql.user Set Password = PASSWORD('DEINPASSWORT') Where User = 'root'; Flush Privileges"
  4. # /usr/local/etc/rc.d/mysql-server restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement