Page 1 of 1

hello all have a error please help [Solved]

PostPosted: 24. February 2012 20:06
by lvlasked
right im compeletly new to this xampp stuff i downloaded it and installed it i then open the controll panel and click start and they both say RUNNING when i click the admin bottom for the mysql thing i get

MySQL said:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

and i have no idea why would reali like to get it working thanks

Re: hello all have a error please help

PostPosted: 24. February 2012 23:52
by hackattack142
You can try binding it to localhost as this sometimes fixes that issue.

Open your my.ini file (/xampp/mysql/bin/my.ini) and change
Code: Select all
#bind-address="127.0.0.1"

to
Code: Select all
bind-address="127.0.0.1"

and restart MySQL if it is running.

Now, make sure to also manually refresh that phpMyAdmin page so you do not load a cached error page.

Re: hello all have a error please help

PostPosted: 25. February 2012 10:08
by lvlasked
now im getting this

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\log.php on line 28
100,database connection error

Re: hello all have a error please help

PostPosted: 25. February 2012 16:59
by lvlasked
any help be good please :(

Re: hello all have a error please help

PostPosted: 25. February 2012 17:50
by hackattack142
I take it that is a file you added manually? Did you set a root password (it is not set by default)? You will need to check the connect statement in that file to make sure it is trying to use the right password for what is set on the server.

Re: hello all have a error please help

PostPosted: 25. February 2012 18:34
by lvlasked
i tryed to sewt a password but now i get this


MySQL said:
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

and and i dunno witch php file to edit it to sto :( any help

Re: hello all have a error please help

PostPosted: 25. February 2012 18:35
by lvlasked
forgot to mention thats when i click the admin botton in on the control panel and it opens a page up in my browser then i get that message some up

Re: hello all have a error please help

PostPosted: 25. February 2012 21:28
by hackattack142
Try opening up your /xampp/phpmyadmin/config.inc.php file and change
Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'config';
to
Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'cookie';

Re: hello all have a error please help

PostPosted: 26. February 2012 08:18
by lvlasked
thanks mate but i sorted before your reply but thank you every much