I seem to have forgotten my password to login as root user for MySql, in terminal (mac). I have consulted the mysql documentation at http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html, this however doesn't seem to work for me. What could I possibly do next?
user$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Here are the current databases available to me w. MySql database doesn't seem to appear there. Why is this?
user$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.6.13 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| test |
+--------------------+