During the installation of mysql yog , I get error no. 2003?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vamsirays
    New Member
    • Jul 2010
    • 7

    During the installation of mysql yog , I get error no. 2003?

    error no.2003
    cant connect to mysql server on localhost(10061 ),
    how can we resolve this..
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Why can't it connect? What MySQL server are you attempting to use?

    Comment

    • vamsirays
      New Member
      • Jul 2010
      • 7

      #3
      actually my aim is to connect java program with database, installation of sql yog i got an error like this"error no.2003
      cant connect to mysql server on localhost(10061 )", what can i do now to connect java program with mysql yog

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        When you say "mysql yog" I assume you mean SQLyog?

        SQLyog is only a GUI tool to work with a MySQL database. You have to install the actual MySQL server first. That's why you get a "can't connect to mysql" message, because there is no MySQL server to connect to.

        See this page to download and install a MySQL server. Also, if you are looking for a GUI tool you may want to consider MySQL Workbench.

        Comment

        • vamsirays
          New Member
          • Jul 2010
          • 7

          #5
          thank you very much

          Comment

          • niente
            New Member
            • Sep 2011
            • 1

            #6
            I solved by uninstalling the IPV6 protocol from my system. Open a shell window and type:

            ipv6 uninstall

            Reboot your machine and re-install mysql. The problem is that MySql translates "localhost" as "::1" (ipv6) instead of "127.0.0.1" (ipv4), so it sees it as a foreign machine.

            Comment

            Working...