Search code examples
phpmysqlphpmyadminosx-elcapitan

Failed to load phpMyAdmin configuration (./config.inc.php:31): parse error


hello guys i made a fresh install of phpmyadmin in my computer. after making a new host i tried to log in but phpmyadmin throwing

#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured)

.

i searched for this error and following this example i made the proper changes, first of all, the name of the file from config.sample.inc.php to config.inc.php and after that i changed the line of the document as the example suggests. Then when i am trying to redirect in phpmyadmin it triggers this error

Failed to load phpMyAdmin configuration (./config.inc.php:31): parse error

this error is triggering only when i change the line

$cfg['Servers'][$i]['host'] = 'localhost';

to:

$cfg['Servers'][$i]['host'] = '127.0.0.1';

my operating system is OS X el capitan 10.11.6

any ideas will be helpfull

thanks in advance

vaggelis


Solution

  • I found it guys, i havent started my database after installed mysql. it was that silly mistake.