Results 1 to 2 of 2

Thread: Access Denied!!

  1. #1
    Join Date
    Feb 2004
    Posts
    4

    Access Denied!!

    Hi there guys I typed the following code in my Terminal (MAC) command line and received the following error..

    /usr/local/mysql/bin/mysql -uroot -p mysql
    Enter password:

    ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
    [MyG5:/usr/local/mysql] hebisr%

    What exactly Is this telling me?

  2. #2
    Join Date
    Jan 2004
    Location
    Cincinnati, OH
    Posts
    30


    This is telling you one of 3 things:

    1. Your password is wrong or you are typing it in incorrectly.

    or

    2. You do not have a password for the "root" account. Thus you do not need the -p in your syntax.

    or

    3. Your account does not have access to the "mysql" users database. (which it should though since you are using root)

    Last edited by ccalender; 03-03-2004 at 05:33 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •