PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 9, 2022

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

 February 09, 2022     mysql, osx-elcapitan, php, phpmyadmin     No comments   

Issue

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.



Answered By - vaggelis
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing