HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 (http://www.howtoforge.com/forums/showthread.php?t=25548)

gueland 28th July 2008 03:32

Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1
 
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?

falko 28th July 2008 15:10

Is impi the correct hostname? Is it listed in /etc/hosts?
What's the output of
Code:

netstat -tap | grep mysql
?

caheo 28th August 2008 06:48

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

topdog 28th August 2008 11:21

That needs to be your hostname


All times are GMT +2. The time now is 22:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.