Mysql ( error 1045 (28000) )

Discussion in 'HOWTO-Related Questions' started by Bellski, May 18, 2010.

  1. Bellski

    Bellski New Member

    Sup.

    I'll try to complain everything that i did.

    I used ( Perfect server ISPconfig 3 Opensuse 11.2 ) just for fun. All worked fine.
    But for my goal was needed a LAMP server. So i deleted ISPconfig by uninstall.php, cleaned some rpms and sources and started to install mysql.

    Code:
    yast -i mysql
              done
    wiwm:/etc # mysql_secure_installation
    
    NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
          SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
    
    
    In order to log into MySQL to secure it, we'll need the current
    password for the root user.  If you've just installed MySQL, and
    you haven't set the root password yet, the password will be blank,
    so you should just press enter here.
    
    Enter current password for root (enter for none): [COLOR="Red"]<- ENTER[/COLOR]
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
    Enter current password for root (enter for none):
    
    
    BTW: After uninstalling ISPconfig i deleted mysql too. And pass was emty.

    I rly don't know what i did wrong. I googled, searched on forums and still cant understand what i did wrong :/

    Correct me if i'm wrong.
    When i uninstalling mysql. All configs and etc is uninstalling too ?
    Assume that i forget my pass. But when i uninstalling mysql, pass is earasing too ? Isn't it ?

    help:eek:

    p.s. think that i missing forum, sry :/ ( Server Operation )
     
    Last edited: May 18, 2010
  2. Bellski

    Bellski New Member

    problem solved.

    Uninstall the mysql package (server).

    Remove /var/lib/mysql with rm -fr.

    Reinstall mysql
     

Share This Page