A really annoying MySQL error

Results 1 to 9 of 9
  1. #1
    Member zCore is offline
    MemberRank
    Apr 2013 Join Date
    SwedenLocation
    28Posts

    A really annoying MySQL error

    Hello again :)

    This morning, when i tried to set up RevCMS on my VPS, it didn't work. The fact is, it can't even connect to the MySQL database. And this is really annoying. I'm using IIS and i've installed PHP, MySQL Connetor/NET, MySQL Server 5.6.11 (i think, anyway it's the latest version) and MySQL installer. I've also tried to repair and uninstall and then install it again but it won't work then either. And yes, my config.php is correct. The host i'm connect to is "localhost" and i've allready tried "127.0.0.1" but that doesn't work either.

    Code:
    MySQL Engine - RevCMS: 
    MySQL could not connect to host
    I need help quickly, thanks!


  2. #2
    No, Just no. Matthew is offline
    Grand MasterRank
    Jul 2008 Join Date
    United KingdomLocation
    1,408Posts

    Re: A really annoying MySQL error

    Okay so MySQL isn't running. If it is and it's not working try this in an elevated command prompt:

    telnet 127.0.0.1 3306

    If you don't have telnet installed, install it.

  3. #3
    Member zCore is offline
    MemberRank
    Apr 2013 Join Date
    SwedenLocation
    28Posts

    Re: A really annoying MySQL error

    Well, it gives me a kind of "error message" and it seems that port 3306 is blocked for some reason.
    I've tried to open the port 3306 and it says it's open but that doesn't help so much.

    I Don't really know what to do..

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: A really annoying MySQL error

    mysql host = localhost
    mysql port = 3306

    Default values.
    Using 127.0.0.1 might sometimes throw errors!

  5. #5
    Member zCore is offline
    MemberRank
    Apr 2013 Join Date
    SwedenLocation
    28Posts

    Re: A really annoying MySQL error

    Quote Originally Posted by tdid View Post
    mysql host = localhost
    mysql port = 3306

    Default values.
    Using 127.0.0.1 might sometimes throw errors!
    Yes, i know. But that doesn't work.
    I've tried almost everything i know right now.. and I've been trying to fix this for 6-7 hours now, and without success.

  6. #6
    Member tvbcrazy is offline
    MemberRank
    Feb 2010 Join Date
    US? Or not :PLocation
    96Posts

    Re: A really annoying MySQL error

    Look this forum and try to stop it in your case 3306 and start the server after that:
    How to stop the process which uses port 1099 - Dev Shed

  7. #7
    Member zCore is offline
    MemberRank
    Apr 2013 Join Date
    SwedenLocation
    28Posts

    Re: A really annoying MySQL error

    Quote Originally Posted by tvbcrazy View Post
    Look this forum and try to stop it in your case 3306 and start the server after that:
    How to stop the process which uses port 1099 - Dev Shed
    Doesn't work. This is REALLY annoying..

  8. #8
    Web & Interaction Design Gangnam is offline
    Grand MasterRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

    Re: A really annoying MySQL error

    Are you positive that you opened port 3306 incoming, or did you open it outgoing?

  9. #9
    Member WildTurtle is offline
    MemberRank
    May 2013 Join Date
    28Posts

    Re: A really annoying MySQL error

    mysql_connect = idontknow

    mysql_connect = idontknow



Advertisement