hello all have a error please help [Solved]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

hello all have a error please help [Solved]

Postby lvlasked » 24. February 2012 20:06

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
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7

Re: hello all have a error please help

Postby hackattack142 » 24. February 2012 23:52

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.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: hello all have a error please help

Postby lvlasked » 25. February 2012 10:08

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
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7

Re: hello all have a error please help

Postby lvlasked » 25. February 2012 16:59

any help be good please :(
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7

Re: hello all have a error please help

Postby hackattack142 » 25. February 2012 17:50

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.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: hello all have a error please help

Postby lvlasked » 25. February 2012 18:34

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
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7

Re: hello all have a error please help

Postby lvlasked » 25. February 2012 18:35

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
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7

Re: hello all have a error please help

Postby hackattack142 » 25. February 2012 21:28

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';
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: hello all have a error please help

Postby lvlasked » 26. February 2012 08:18

thanks mate but i sorted before your reply but thank you every much
lvlasked
 
Posts: 7
Joined: 24. February 2012 19:59
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests