I used to have this error before but I have somehow forgotten how I resolved it the last time. Hope someone can assist with this.
I have install Postfixadmin and everything seems to look fine. However, when I tried to add domain using the Postfixadmin admin page, I keep getting the following errors.
Quote:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/myGroup/domainname.co.uk/user/htdocs/postfixadmin/functions.inc.php on line 131
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/myGroup/domainname.co.uk/user/htdocs/postfixadmin/functions.inc.php on line 131
|
I have already configured the file config.inc.php and everything seems to be in order. However, if you look at the error, you will notice that Postfixadmin is actually trying to connect to the MySQL server as "apache" instead of as "postfixadmin" which is what was configured in config.inc.php.
Any idea how to resolve this and why this is happening?
Recent comments
1 day 15 hours ago
1 day 18 hours ago
2 days 6 hours ago
2 days 8 hours ago
2 days 12 hours ago
2 days 19 hours ago
3 days 4 hours ago
3 days 6 hours ago
3 days 14 hours ago
3 days 15 hours ago