Home › Forums › CSS › Major Problem (MAMP/MySQL) – Help?? › Re: Major Problem (MAMP/MySQL) – Help??
Well some things now appear to be working.. That was my stupidity not knowing to point towards the directory… The only problem is that when i execute the commands above this is the output
/Applications/MAMP/Library/bin/mysql -u root
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 3
Server version: 5.5.25 Source distribution
Copyright (c) 2000, 2011, 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> UPDATE user SET password=PASSWORD(‘root’) WHERE user=”root”;
ERROR 1046 (3D000): No database selected
mysql> show databases
->
… I still really don’t know whats going on here..
I also tried
mysql> -u root password root
->
However i still get “Error: Could not connect to MySQL server!” when I try to open the MAMP start page… It would help if i understood what the problem actually was but im lost