Root password issue at install

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Ehmer

    #1

    Root password issue at install

    Having a problem setting up a password for MySQL

    The reported problem when attempting to set up a root password is;

    C:\mysql\bin>my sqladmin version
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to MySQL server on 'localhost' (10061)'
    Check that mysqld is running on localhost and that the port is 3306.
    You can check this by doing 'telnet localhost 3306'

    When checking this:

    C:\mysql\bin>te lnet localhost 3306
    Connecting To localhost...Cou ld not open connection to the host, on port
    3306: C
    onnect failed

    Appreciate any suggestions
    David



  • John Richards

    #2
    Re: Root password issue at install

    David Ehmer wrote:[color=blue]
    > Having a problem setting up a password for MySQL
    >
    > The reported problem when attempting to set up a root password is;
    >
    > C:\mysql\bin>my sqladmin version
    > mysqladmin: connect to server at 'localhost' failed
    > error: 'Can't connect to MySQL server on 'localhost' (10061)'
    > Check that mysqld is running on localhost and that the port is 3306.
    > You can check this by doing 'telnet localhost 3306'
    >
    > When checking this:
    >
    > C:\mysql\bin>te lnet localhost 3306
    > Connecting To localhost...Cou ld not open connection to the host, on port
    > 3306: C
    > onnect failed
    >
    > Appreciate any suggestions
    > David
    >
    >
    >[/color]

    I found the same when installing under Mandrake Linux 9.1 so I just
    configured it so that I use it as root with no password, as the manual
    suggests in this case. It may not be the ideal from a security point of
    view, but I am the only user on my machine, and I never use the Database
    online, so that does not worry me unduly. It certainly works OK like that.

    Best wishes

    John Richards

    Comment

    Working...