Reputation: 35
MySQL said: Documentation
Cannot connect: invalid settings.
Upvotes: 0
Views: 354
Reputation: 1
i tried to acess my website through localhost and i got a message said that The webpage cannot be found HTTP 404 Most likely causes: •There might be a typing error in the address. •If you clicked on a link, it may be out of date. What you can try: Retype the address. Go
Upvotes: 0
Reputation: 46
Write instead of localhost
127.0.0.1
or
Open config.inc.php
and find $cfg['Servers'][$i]['host'] = '127.0.0.1';
and change 127.0.0.1
to localhost
. It should work, it worked by me.
Upvotes: 1
Reputation: 35
change "config.inc.php " file
3306 is mysql main port
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = 'localhost:3306';
Upvotes: 1