Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th July 2009, 19:45
Sascha833 Sascha833 is offline
Junior Member
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail Can't connect to MySQL server

Hi
If i send an mail i get this error in my logs:
Code:
Jul 17 11:35:06 saschas-web postfix/proxymap[9561]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
But my db user and pass in the postfix configuration are 100% correct. I also set an # for bind adress 127.0.0.1 in the my.conf
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2009, 12:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

What's the output of
Code:
netstat -tap
?
Which distribution do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th July 2009, 14:51
Sascha833 Sascha833 is offline
Junior Member
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now i get "Relay access denied". But can i order postfix to use only 127.0.0.1 for database connections? Because i think remote mysql access is not so good. I use Debain Lenny 64bit

Last edited by Sascha833; 18th July 2009 at 15:12.
Reply With Quote
  #4  
Old 19th July 2009, 14:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,656 Times in 4,464 Posts
 
Default

Mysql is using 127.0.0.1 as your error message says, so it is using local connections. But your mysql server blocks this. So please answer falkos question if you want that we are able to help you!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 10:58
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
procmail can't write Hellbound General 27 8th June 2009 22:51
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 23:53


All times are GMT +2. The time now is 11:25.


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