Forum Moderators: mack

Message Too Old, No Replies

phpmyadmin

         

Flolondon

1:41 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



Please I need. Help. I had my phpmyadmin up and running successfully and then I installed Mcafee security on my computer and then I could not run the apache server for some reason. I uninstalled the mcafee security and then I got this below message saying that it could not connect to the MYSQL server and now i dont have phpmyadmin. please help

Welcome to phpMyAdmin 2.5.5-pl1

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.

Server localhost
Error

MySQL said:

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

[Documentation]

caskie

11:25 am on Apr 4, 2004 (gmt 0)

10+ Year Member



Sounds to me like Mcafee did something with the localhost name, also maybe Mysql is not running, i would check to see if the service is running, if you do a ctrl-alt-del then under processes you should see mysqld-nt.exe (assuming it is windows 2000 or xp).

Next you could check you computer name, right click my computer, select properties then click on computer name tab, here you will see the name, in the phpmyadmin config file change the localhost to computer name and do the same in your browser to call it.

This is a bit of a workaround, some of these security programs do make changes.

Another thing maybe check in the IIS settings that the machine still has the name localhost.

Hope this helps

Cheers
Caskie

Flolondon

4:59 pm on Apr 4, 2004 (gmt 0)

10+ Year Member



hiya. caskie.

thanks for your advice... any way, mysql is not running. how can i fix it. pls also, how do i find the iis settings to see if it has changed he localhost information pls

floriette from london

caskie

6:16 pm on Apr 4, 2004 (gmt 0)

10+ Year Member



Hi

To start mysql you will need a "dos" window, this can be found 2 ways, the first by clicking on the start button then run then type cmd and enter. Alternatively, start, programs, accessories then click on command prompt, when you have the black window open type the following - "c:\mysql\bin\mysqld-nt.exe start" then close the window with the cross in the top left corner (this is assuming win 2k or xp). If you do a ctrl-alt-del you should see the service under processes, near the bottom. To ensure this starts automatically, start, settings, control panel, admin tools, services, on the rhs look for mysql, right click and select properties, make sure automatic is selected, don't worry if it says stopped as long as in the processes it shows then it's ok.

To check the IIS settings go, start, settings, control panel, admin tools, internet information services, then expand the tree until you see default web site, this should say running over on the rhs, if not right click again and click start.

Hope this helps
Caskie