PDA

View Full Version : plz Hilp me in phpMyAdmin


vip_sh3
August 20th, 2004, 09:59 PM
Hello, it's my first post in this forum

I have a problem !:dizzy:

Iam using server " PHPDEV " to run " PHP ", when Iam going to PHPMyAdmin

I found this error :

Welcome in phpMyAdmin 2.5.3


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

Error

MySQL Say:


#2003 - Can't connect to MySQL server on 'localhost'


any solutions ?

degsy
August 21st, 2004, 03:31 AM
Welcome :)

First thing to check


host, username and password

30111987
August 21st, 2004, 12:41 PM
also check with your webspace provider, local host may not work

Ned Seagoon
August 21st, 2004, 07:53 PM
Hi VIP

Welcome to CTH

PHP needs to login to MySQL, you need to put the username, password and host into a config file.

If you are using PHPDEV, I presume you are running it on your own machine? If so localhost would be the host and it is usual to login with the username of nobody either with or without a password.

See a tutorial at http://webmonkey.wired.com/webmonkey/99/21/index2a.html

Have fun. BF

Steven.Bentley
August 22nd, 2004, 08:46 PM
hmm phpdev has always just worked when I've set it up, I use it on a couple of boxes at work for testing and development and haven't seen that error. Only thing I can think of is that mysql may not have started properly.