www.webdeveloper.com
Results 1 to 2 of 2

Thread: Can't Connect to MySQL hosts.. PLZ Help

  1. #1
    Join Date
    Jul 2011
    Posts
    1

    Can't Connect to MySQL hosts.. PLZ Help

    I've been working on this for two weeks now. Microsoft won't allow phone support unless I sell my kidneys for both their programs I've downloaded to assist in web development (Visual Web Developer 2010 Express and WebMatrix) After opening either program I try to install the Wordpress Application and I get to the "Enter application information:" screen and enter the correct name's and password's to the never ending error message of:

    ----------------------------------------------------------
    The source is invalid.
    Cannot connect to the database".
    Cannot connect to the database".
    Unable to connect to any of the specified MySQL hosts
    ----------------------------------------------------------

    I am the administrator and I run the program as administrator on the pc. I have tried clean uninstall/reinstall. Tried opening the port 3306 for MySQL server. Nothing has worked. I really don't want to take this thing to a shop and would truly appreciate any help at all. Or at least a better forum to go to. I've tried plenty. Thank you very much.

  2. #2
    Join Date
    Jul 2010
    Location
    /ramdisk/
    Posts
    865
    I honestly have zero idea how in the world to do this on windows- fortunately the way I check on linux is more or less the same.

    get nmap (from insecure.org) and from cmd prompt (not as admin!) the following:

    nmap -p- -sV -PN localhost

    will show you a list of open ports and the service (more or less- exactly what it is). If nmap can't scan the localhost on windows (which is a problem in older versions) you can try:

    nmap --iflist or nmap -iflist (its one of those two).

    Check for port 3306 actually being open. That's the first thing you should check IMO.


    Code:
    Starting Nmap 5.21 ( http://nmap.org ) at 2011-08-10 03:08 EDT
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00013s latency).
    Not shown: 65532 closed ports
    PORT     STATE SERVICE
    1999/tcp open  apache
    2001/tcp open  apache
    3306/tcp open  mysql
    
    Nmap done: 1 IP address (1 host up) scanned in 0.77 seconds
    Edit: also don't run services like that as a super user... that's asking for trouble regardless of platform.
    Last edited by eval(BadCode); 08-10-2011 at 03:11 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles