MySQL Setup Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • slush@albertaimit.ca

    #1

    MySQL Setup Error

    While installing mysql server on a windows 2000 machine without a
    firewall, I get an error numbered 1045. Access is denied for user
    'root'@'localho st' (using password: NO). If anyone has any ideas of
    how to solve it, it would be much appreciated.

    RB
  • Bill Karwin

    #2
    Re: MySQL Setup Error

    slush@albertaim it.ca wrote:[color=blue]
    > While installing mysql server on a windows 2000 machine without a
    > firewall, I get an error numbered 1045. Access is denied for user
    > 'root'@'localho st' (using password: NO). If anyone has any ideas of
    > how to solve it, it would be much appreciated.[/color]

    Here's my educated guess:

    Recent versions of the MySQL Windows installer encourage the user to
    specify a root password to use for local access. This is a good policy.

    So this means you can't connect to MySQL locally without specifying a
    password (that's what "using password: NO" means). Whomever installed
    MySQL chose a root password, and you aren't using that password.

    Regards,
    Bill K.

    Comment

    • RB

      #3
      Re: MySQL Setup Error

      Thanks for the help, that was exactly the problem and now everything
      is working fine.

      On Tue, 14 Jun 2005 16:11:49 -0700, Bill Karwin <bill@karwin.co m>
      wrote:
      [color=blue]
      >slush@albertai mit.ca wrote:[color=green]
      >> While installing mysql server on a windows 2000 machine without a
      >> firewall, I get an error numbered 1045. Access is denied for user
      >> 'root'@'localho st' (using password: NO). If anyone has any ideas of
      >> how to solve it, it would be much appreciated.[/color]
      >
      >Here's my educated guess:
      >
      >Recent versions of the MySQL Windows installer encourage the user to
      >specify a root password to use for local access. This is a good policy.
      >
      >So this means you can't connect to MySQL locally without specifying a
      >password (that's what "using password: NO" means). Whomever installed
      >MySQL chose a root password, and you aren't using that password.
      >
      >Regards,
      >Bill K.[/color]

      Comment

      Working...