Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1

Discussion in 'HOWTO-Related Questions' started by gueland, Jul 28, 2008.

  1. gueland

    gueland New Member

    I am on page 2 of the setup and in the mysql setup:

    I run:

    /usr/bin/mysqladmin -u root -h impi password 'password' -p

    And receive this error:

    /usr/bin/mysqladmin: connect to server at 'impi' failed
    error: 'Unknown MySQL server host 'impi' (1)'
    Check that mysqld is running on impi and that the port is 3306.
    You can check this by doing 'telnet impi 3306'

    What gives?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Is impi the correct hostname? Is it listed in /etc/hosts?
    What's the output of
    Code:
    netstat -tap | grep mysql
    ?
     
  3. caheo

    caheo New Member

    Dear Falko
    "Is impi the correct hostname? Is it listed in /etc/hosts?
    What's the output of
    Code:"
    How to config in /etc/host file to impi correct hostname pls show me exxample
    thankx
     
  4. topdog

    topdog New Member HowtoForge Supporter

    That needs to be your hostname
     

Share This Page