+ Reply to Thread
Results 1 to 6 of 6

Thread: Problems connecting to MySQL

  1. #1

    Problems connecting to MySQL

    Hi,

    I am Linux Fedora and having problems connecting to MySQL despite being root. Here is the error when I type mysql at the prompt/terminal.

    ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

    Can any one help? Thanks…

  2. #2
      Mentor Kernel_Killer Kernel_Killer's Avatar
    Join Date
    Feb 2002
    Location
    Misery
    Posts
    1,652
    Did you recently change the users? If its a fresh install of MySQL, try logging in with root, without a password. I’m not sure if FC has you set a password on install, but some do not, leaving the password blank for root.
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  3. #3
    Originally Posted by Kernel_Killer
    Did you recently change the users? If its a fresh install of MySQL, try logging in with root, without a password. I’m not sure if FC has you set a password on install, but some do not, leaving the password blank for root.

    Thanks you…its working now for some weired reason it stopped…

  4. #4
    hi

  5. #5

    mysql

    just type

    #mysql

    mysql>

    grant the permissions to localhost

    mysql> grant all on * to root@localhost identified by "passwd";

    u can login with

    #mysql -u root -p

  6. #6
      Mentor countach44
    Join Date
    Dec 2003
    Posts
    1,613
    don’t forget to run "FLUSH PRIVILEGES" after editing mysql grant tables.
    63,000 bugs in the code, 63,000 bugs,
    ya get 1 whacked with a service pack,
    now there’s 63,005 bugs in the code!!

+ Reply to Thread

Similar Threads

  1. MySQL worm for Windows halted
    By genesis in forum Windows – General Topics
    Replies: 0
    Last Post: 01-28-2005, 10:53 PM
  2. Fixing 95/98 Networking problems
    By regix in forum Windows – General Topics
    Replies: 0
    Last Post: 01-01-2005, 02:35 AM
  3. mysql problems
    By pinehead in forum Linux – General Topics
    Replies: 12
    Last Post: 07-25-2004, 01:22 AM
  4. Solaris mysql config problems
    By coltrane in forum BSD
    Replies: 0
    Last Post: 09-19-2002, 05:07 PM
  5. mysql installation instructions & permissions
    By elovkoff in forum Linux – Hardware, Networking & Security
    Replies: 2
    Last Post: 02-06-2002, 11:51 AM

Bookmarks

Bookmarks

Posting Permissions

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