Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/rc.conf
- la siguiente linea:
- mysql_args="--skip-grant-tables --skip-networking"
- reinicia el mysql:
- /usr/local/etc/rc.d/mysql-server restart
- entra a mysql con el siguiente comando:
- mysql -u root mysql
- Y cambia tu pass:
- UPDATE mysql.USER SET Password=PASSWORD('Your new password') WHERE USER='root';
- Luego vuelve a quitar la linea que agregaste en /etc/rc.conf y reinicia mysql.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement