UebiMiau installation help needed

Discussion in 'Installation/Configuration' started by toyito, Nov 29, 2005.

  1. falko

    falko Super Moderator ISPConfig Developer

    Try
    Code:
    mysql -u root -p
    MySQL asks you for the password then.
     
  2. smelkomar

    smelkomar Guest

    Same result... I'm too stupid to forgot the password :D Maybe I must remove and then reinstall mysql again using the guide... :eek:
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, it might be a good idea to reinstall MySQL. Dont forget to remove the tables in /var/lib/mysql after you uninstalled mysql. Otherwise the reinstallation will use the old password table.
     
  4. smelkomar

    smelkomar Guest

    I saw that in this file /etc/mysql/my.cnf I haven't "skip-networking". I add this option under "skip-external-locking" and then restart mysql. Before the procedure of new install of mysql I just run first "apt-get update" then "apt-get upgrade". There are no problems during installation of mysql but what is THIS?

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76
    
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:76) in /home/admispconfig/ispconfig/web/login/login.php on line 56
    This is my attemp to login in ISPConfig from title page :)
    Yes, I delete the tables in /var/lib/mysql with "rm -r *.*"
    Is it possible to make every time before installing software "apt-get update+upgrade" and after installing???
     
    Last edited by a moderator: Feb 25, 2006
  5. till

    till Super Moderator Staff Member ISPConfig Developer


    That happens when you add skip-networking to your my.cnf file. ISPConfig is not able anymore to connect to mysql when you block the networking connections.
     
  6. smelkomar

    smelkomar Guest

    OK, I deleted "skip-networking" and then restart mysql again. The result is the same :mad: What can I do...? To do again the perfect setup or to wait for version 3 for which Falko told me
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Have ypu restarted the ISPConfig server afterwards?

    /etc/init.d/ispconfig_server restart
     
  8. smelkomar

    smelkomar Guest

    No :D But here is an output from this command:

    Code:
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    [B][COLOR="Red"]Could not connect to MySQL server![/COLOR][/B]ISPConfig system is now up and running!
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Is the correct MySQL username and password in /home/admispconfig/ispconfig/lib/config.inc.php?
     
  10. smelkomar

    smelkomar Guest

    Hmmm, I cannot check it at the moment :confused: The root password is changed (I writed it on white paper, too usuall :rolleyes: ) This is ubelievable... I cannot login as root! :mad:
     
  11. falko

    falko Super Moderator ISPConfig Developer

    You can use a Linux rescue CD to reset your password.
     

Share This Page