Results 1 to 4 of 4

Thread: Error when adding user to MySQL database in Metasploit 3

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    31

    Default Error when adding user to MySQL database in Metasploit 3

    I'm try to add a user (me) to a MySQL database in Metasploit 3 and I get the following output:

    Code:
    root@bt:~# mysql -u root -p'toor'
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    Can anyone help me out with this? thank you.
    RIP SHIRLEY 10/11/2008

  2. #2
    Senior Member
    Join Date
    Jul 2010
    Location
    UK
    Posts
    136

    Default Re: Error when adding user to MySQL database in Metasploit 3

    Try this

    Code:
    mysql -u root -p
    When prompted to enter password, type toor without the ' '

  3. #3
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: Error when adding user to MySQL database in Metasploit 3

    Or try:
    Code:
    mysql -uroot -ptoor
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  4. #4
    Just burned his ISO
    Join Date
    Apr 2009
    Posts
    1

    Default Re: Error when adding user to MySQL database in Metasploit 3

    Quote Originally Posted by Jimmy87 View Post
    Try this

    Code:
    mysql -u root -p
    When prompted to enter password, type toor without the ' '


    Thanks it worked for me

Similar Threads

  1. MYSQL database Problem
    By CeEe4 in forum Beginners Forum
    Replies: 6
    Last Post: 04-03-2011, 04:39 PM
  2. Mysql / metasploit error
    By zimsabre in forum Beginners Forum
    Replies: 3
    Last Post: 08-05-2010, 11:37 AM
  3. How to create an MYSQL user if no have a usser?
    By Debci in forum OLD Newbie Area
    Replies: 0
    Last Post: 09-01-2009, 05:17 PM
  4. mysql db_create error metasploit
    By hhmatt in forum OLD BT4beta Bugs and Fixes
    Replies: 5
    Last Post: 02-27-2009, 03:46 AM
  5. KDE after adding new user.
    By De Moon in forum OLD Newbie Area
    Replies: 2
    Last Post: 08-03-2008, 03:10 AM

Posting Permissions

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