Hi,
First of all, open your browser and write this adress to the adress bar: "
http://localhost/phpinfo.php" . You will see many variables on the page. Look at the under of the Apache Environment: You should find this variable: SERVER_ADMIN. it will say your username and write yourpassword or ignore it. You will see that PhpMyadmin page and you can control MYSQL database.
You should put your php documents in the "C:\AppServ\www". for example, first.php and you can run that document using this adress
http://localhost/first.phpSincerely,
Dursun Akaslan
The problem is that you are trying to use named pipe connection. You should use the tcp connection, so
localhost -> 127.0.0.1
http://hu2.php.net/function.mysql-connectNote: Whenever you specify "localhost" or "localhost:port" as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use "127.0.0.1" instead of "localhost". If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as Runtime Configuration in your PHP configuration and leave the server field blank.
Simply modify this line in the phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host'] = 'localhost';
to this:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
it worked for me;)
hey i have same problem too
i allready try both of this but still dont work
it always show server not responding