Pah....alguem é bom em programação? não entendo nada disto! tenho MacBook, instalei o MAMP...quando entro no PHPMyAdmin dá erro: #1045 - Access denied for user 'root'@'localhost' (using password: YES)
Estive a fazer uma busca e encontrei a seguinte solução:
As this is first time installation mysql so there is no password set for root. If you are not sure where your mysql is installed then search for mysql binary.
In the terminal type:
$find / -type f -name "mysql"
Based on the result navigate to the dir then type
$mysql
and you will be inside the mysql prompt, then set the root password for mysql
mysql>use mysql;
mysql>update user set Password=PASSWORD('NewPass') where User='root';
mysql> flush privileges;
mysql>exit
And it will be good to create one database for sugar and one user/password for this database and use these parameter while installing sugar (at step 3)
To create one db in mysql
$mysql -u root -p //now use the root password previously set)
mysql> create database MyDB;
mysql> grant all on MyDB.* to
[email protected] identified by 'MyPass';
mysql> flush privileges;
mysql>exit
Mas tem um problema....eu entrei no terminal, escrevi: $find / -type f -name "mysql"
e dá erro: diz: -bash: /: is a directory
desculpem...é que eu nem de comandos UNIX percebo!