error 1045

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

    #1

    error 1045

    Hi all,
    i have a problem with mysql database.
    On a linux machine at the first connect to database i have deleted from
    users "@linux" and "@localhost " so when i try to connect from my machine
    to my database i receive follow message :
    mysql error 1045: access denied for root@localhost
    I have try to reinstall mysql packages my problem persist!
    Can u help me??
    u are welcome.
    thanks for now!

  • Aggro

    #2
    Re: error 1045

    karonte wrote:
    [color=blue]
    > I have try to reinstall mysql packages my problem persist!
    > Can u help me??[/color]

    Propably your old databases and tables (atleast the database called
    "mysql" where privileges are) have survived from the reinstall. Make
    sure that they are removed when you remove mysql. I have tables at
    /var/lib/mysql/, but I don't know where you have them.

    You could also try mysql_install_d b, see this page for help:

    http://www.mysql.com/doc/en/mysql_install_db.html

    Comment

    • Aggro

      #3
      Re: error 1045

      karonte wrote:
      [color=blue]
      > I have try to reinstall mysql packages my problem persist!
      > Can u help me??[/color]

      Propably your old databases and tables (atleast the database called
      "mysql" where privileges are) have survived from the reinstall. Make
      sure that they are removed when you remove mysql. I have tables at
      /var/lib/mysql/, but I don't know where you have them.

      You could also try mysql_install_d b, see this page for help:

      http://www.mysql.com/doc/en/mysql_install_db.html

      Comment

      • Aggro

        #4
        Re: error 1045

        karonte wrote:
        [color=blue]
        > I have try to reinstall mysql packages my problem persist!
        > Can u help me??[/color]

        Propably your old databases and tables (atleast the database called
        "mysql" where privileges are) have survived from the reinstall. Make
        sure that they are removed when you remove mysql. I have tables at
        /var/lib/mysql/, but I don't know where you have them.

        You could also try mysql_install_d b, see this page for help:

        http://www.mysql.com/doc/en/mysql_install_db.html

        Comment

        Working...