Sorry for posting this error which has been posted so many times and on multiple forums.
I'm having a hard time resolving this issue. OSX Yosemite, 10.10
I installed mysql
using home brew
. Can log into mysql as
mysql -u root -p
The password is null.
Then I ran
mysqladmin -u root password ''
, ie null
password for mysqladmin.
I did localhost/~username/phpmyadmin/setup
to get config.inc.php
I edited it with
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = TRUE;
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
I uninstalled and installed again mysql with homebrew, did all steps again, removed *.err
file which gave socket error.
I tried user root
with password mysql
, ``, password
, my_machine_password
Not a single thing works.!
In config.inc.php
I've following setting:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
I restart
apache everytime.
What am I missing?
Nothing seems to let me through it. All posts direct to same steps I've been doing, yet nothing is able to get pass this harrowing process.! Kindly help..