|
db access denied with MAMP 1.8.4 five months ago | Registered: two years ago Posts: 149 |
/Applications/MAMP/Library/bin/mysql -u root -pand enter the 'root' password.
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword');86 $cfg['Servers'][$i]['password'] = 'newpassword';
Checking MySQL databases failed Error message: /Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connectYet, in Terminal, I can still access MySQL and get the list of databases with the new password:
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.1.37 Source distribution
|
Re: db access denied with MAMP 1.8.4 five months ago | Registered: six months ago Posts: 12 |
|
Re: db access denied with MAMP 1.8.4 five months ago | Admin Registered: six years ago Posts: 8,598 |
|
Re: db access denied with MAMP 1.8.4 five months ago | Registered: two years ago Posts: 149 |
Quote
Larry
when you say you start MAMP and then can't connect to MySQL, where and how do you mean you can't connect
Checking MySQL databases failed Error message: /Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
Error: Could not connect to MySQL server!
Quote
Brickster
I had similar problem. I had to change the password in the MAMP PRO "Server" control panel.
MySQL root password: "Change MySQL root password" button.
Stopped the database and restarted and everything started working again.
Quote
http:// localhost:8888/MAMP/?language=French
Quote
http:// localhost:8888/phpMyAdminForPHP5/?lang=en-iso-8859-1&language=English
and now when I launch MAMP I do access phpMyAdmin… but MAMP is unhappy all the same and keeps showing the same error message:Quote
localhost:8888/phpMyAdminForPHP5
Checking MySQL databases failed Error message: /Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
|
Re: db access denied with MAMP 1.8.4 five months ago | Admin Registered: six years ago Posts: 8,598 |
|
Re: db access denied with MAMP 1.8.4 five months ago | Registered: two years ago Posts: 149 |
line 84 — $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
line 85 — $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
line 86 — $cfg['Servers'][$i]['password'] = 'newpassword'; // MySQL password (only needed
// with 'config' auth_type)|
Re: db access denied with MAMP 1.8.4 five months ago | Admin Registered: six years ago Posts: 8,598 |
|
Re: db access denied with MAMP 1.8.4 five months ago | Registered: two years ago Posts: 149 |
|
Re: db access denied with MAMP 1.8.4 five months ago | Admin Registered: six years ago Posts: 8,598 |
|
Re: db access denied with MAMP 1.8.4 four months ago | Registered: four months ago Posts: 1 |
|
Re: db access denied with MAMP 1.8.4 four months ago | Registered: two years ago Posts: 149 |
|
Re: db access denied with MAMP 1.8.4 four months ago | Admin Registered: six years ago Posts: 8,598 |