Error 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geert-Jan van Leeuwen

    #1

    Error 2003


    I am completely new yo MySQL. I want to learn something about PHP / MySQL
    and bought a book (dutch book from Academic Service 'MySQL/PHP Database
    Applicaties' by Jay Greenspan and Brad Bulger, ISBN 90 395 1814 9) about it
    with a CD containing and installation map containing
    'mysql-3.23.28-gamma-win'. I want to install it on Windows XP on the moment
    but want to switch to Linux later. I am a total rookie in Linux also, but
    want to learn.

    I use 'Typical' installatioin and it installs allright. I open a
    commandprompt and start the file 'mysqld' . The commandprompt returns. The
    book says to check if the 'deamon' works with <mysql -u root> Doing that
    gives the message:
    Error 2003: Can't connect to MySQL server on 'localhost' (10061)

    I also tried from http://www.mysql.org/downloads the file
    mysql-4.0.17-win.zip . This also installs fine, but starting
    <mysqld> does not return with the commandprompt.

    The book told my to first install MySQL and check it, after that Apache and
    PHP. I do that.

    Any idea what I am doing wrong?

    Thanks in advance

    Geert-Jan



    OS: Windows XP
    dutch Home Edition
    Version 2002
    Service Pack 1


  • Don Gardon

    #2
    Re: Error 2003

    Getting the same "Error 2003" but with win98. Have gotten the server open
    with MySQLAdmin (spelling ?) and then going back to the <mysql -u root>
    thing. Can then do all the commands and what not like that.

    I'm guessing the problem lies in the ini file that was changed with the
    "admin" thing. Going to trash the "admin" thing and get the ini back to
    it's original version. You might want to try that if you have changed your
    original "ini or cnf" files.

    Hope this all isn't to "perfectly Nixonion."

    --
    VR
    Don Gardon
    "Geert-Jan van Leeuwen" <nospam@sumpthi ng.nl> wrote in message
    news:100o11i143 fqpcf@corp.supe rnews.com...[color=blue]
    >
    > I am completely new yo MySQL. I want to learn something about PHP / MySQL
    > and bought a book (dutch book from Academic Service 'MySQL/PHP Database
    > Applicaties' by Jay Greenspan and Brad Bulger, ISBN 90 395 1814 9) about[/color]
    it[color=blue]
    > with a CD containing and installation map containing
    > 'mysql-3.23.28-gamma-win'. I want to install it on Windows XP on the[/color]
    moment[color=blue]
    > but want to switch to Linux later. I am a total rookie in Linux also, but
    > want to learn.
    >
    > I use 'Typical' installatioin and it installs allright. I open a
    > commandprompt and start the file 'mysqld' . The commandprompt returns. The
    > book says to check if the 'deamon' works with <mysql -u root> Doing that
    > gives the message:
    > Error 2003: Can't connect to MySQL server on 'localhost' (10061)
    >
    > I also tried from http://www.mysql.org/downloads the file
    > mysql-4.0.17-win.zip . This also installs fine, but starting
    > <mysqld> does not return with the commandprompt.
    >
    > The book told my to first install MySQL and check it, after that Apache[/color]
    and[color=blue]
    > PHP. I do that.
    >
    > Any idea what I am doing wrong?
    >
    > Thanks in advance
    >
    > Geert-Jan
    >
    >
    >
    > OS: Windows XP
    > dutch Home Edition
    > Version 2002
    > Service Pack 1
    >
    >[/color]


    Comment

    • Don Gardon

      #3
      Re: Error 2003

      Getting the same "Error 2003" but with win98. Have gotten the server open
      with MySQLAdmin (spelling ?) and then going back to the <mysql -u root>
      thing. Can then do all the commands and what not like that.

      I'm guessing the problem lies in the ini file that was changed with the
      "admin" thing. Going to trash the "admin" thing and get the ini back to
      it's original version. You might want to try that if you have changed your
      original "ini or cnf" files.

      Hope this all isn't to "perfectly Nixonion."

      --
      VR
      Don Gardon
      "Geert-Jan van Leeuwen" <nospam@sumpthi ng.nl> wrote in message
      news:100o11i143 fqpcf@corp.supe rnews.com...[color=blue]
      >
      > I am completely new yo MySQL. I want to learn something about PHP / MySQL
      > and bought a book (dutch book from Academic Service 'MySQL/PHP Database
      > Applicaties' by Jay Greenspan and Brad Bulger, ISBN 90 395 1814 9) about[/color]
      it[color=blue]
      > with a CD containing and installation map containing
      > 'mysql-3.23.28-gamma-win'. I want to install it on Windows XP on the[/color]
      moment[color=blue]
      > but want to switch to Linux later. I am a total rookie in Linux also, but
      > want to learn.
      >
      > I use 'Typical' installatioin and it installs allright. I open a
      > commandprompt and start the file 'mysqld' . The commandprompt returns. The
      > book says to check if the 'deamon' works with <mysql -u root> Doing that
      > gives the message:
      > Error 2003: Can't connect to MySQL server on 'localhost' (10061)
      >
      > I also tried from http://www.mysql.org/downloads the file
      > mysql-4.0.17-win.zip . This also installs fine, but starting
      > <mysqld> does not return with the commandprompt.
      >
      > The book told my to first install MySQL and check it, after that Apache[/color]
      and[color=blue]
      > PHP. I do that.
      >
      > Any idea what I am doing wrong?
      >
      > Thanks in advance
      >
      > Geert-Jan
      >
      >
      >
      > OS: Windows XP
      > dutch Home Edition
      > Version 2002
      > Service Pack 1
      >
      >[/color]


      Comment

      • Geert-Jan van Leeuwen

        #4
        Re: Error 2003

        Hi Don,
        [color=blue]
        > I'm guessing the problem lies in the ini file that was changed with the
        > "admin" thing. Going to trash the "admin" thing and get the ini back to
        > it's original version. You might want to try that if you have changed[/color]
        your[color=blue]
        > original "ini or cnf" files.[/color]

        I hadn't. The problem was partly my ignorance. I started mysqld and I
        noticed I 'hangup' or so I thought. He didn't return with a commandprompt. A
        different version of MySQL did return the prompt, but came with the error. I
        just open a second dos-window now, start mysql and it works.

        It seems ok now.

        Thanks for your answer.
        [color=blue]
        > Hope this all isn't to "perfectly Nixonion."[/color]

        *g*

        I wasn't familiar with the word Nixonion, but after some googling can guess
        the meaning as being something incomprehensabl e. No I understand what you
        meant.

        :-)
        [color=blue]
        > --
        > VR
        > Don Gardon[/color]

        Grtnx,

        Geert-Jan


        Comment

        • Geert-Jan van Leeuwen

          #5
          Re: Error 2003

          Hi Don,
          [color=blue]
          > I'm guessing the problem lies in the ini file that was changed with the
          > "admin" thing. Going to trash the "admin" thing and get the ini back to
          > it's original version. You might want to try that if you have changed[/color]
          your[color=blue]
          > original "ini or cnf" files.[/color]

          I hadn't. The problem was partly my ignorance. I started mysqld and I
          noticed I 'hangup' or so I thought. He didn't return with a commandprompt. A
          different version of MySQL did return the prompt, but came with the error. I
          just open a second dos-window now, start mysql and it works.

          It seems ok now.

          Thanks for your answer.
          [color=blue]
          > Hope this all isn't to "perfectly Nixonion."[/color]

          *g*

          I wasn't familiar with the word Nixonion, but after some googling can guess
          the meaning as being something incomprehensabl e. No I understand what you
          meant.

          :-)
          [color=blue]
          > --
          > VR
          > Don Gardon[/color]

          Grtnx,

          Geert-Jan


          Comment

          • Geert-Jan van Leeuwen

            #6
            Re: Error 2003

            Hi Don,
            [color=blue]
            > I'm guessing the problem lies in the ini file that was changed with the
            > "admin" thing. Going to trash the "admin" thing and get the ini back to
            > it's original version. You might want to try that if you have changed[/color]
            your[color=blue]
            > original "ini or cnf" files.[/color]

            I hadn't. The problem was partly my ignorance. I started mysqld and I
            noticed I 'hangup' or so I thought. He didn't return with a commandprompt. A
            different version of MySQL did return the prompt, but came with the error. I
            just open a second dos-window now, start mysql and it works.

            It seems ok now.

            Thanks for your answer.
            [color=blue]
            > Hope this all isn't to "perfectly Nixonion."[/color]

            *g*

            I wasn't familiar with the word Nixonion, but after some googling can guess
            the meaning as being something incomprehensabl e. No I understand what you
            meant.

            :-)
            [color=blue]
            > --
            > VR
            > Don Gardon[/color]

            Grtnx,

            Geert-Jan


            Comment

            Working...