New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Access denied for user 'postfix'@'localhost

Started by rasika, July 10, 2016, 01:00:02 PM

Previous topic - Next topic

rasika

Hi..

I am getting the error this bellow error msg on CWP control panel while you going to add email or list email
Quote
Warning: [obfuscated](): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_add-new.php on line 0

Warning: [obfuscated]() expects parameter 2 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_add-new.php on line 0
Could not connect to database postfix check configuration file: /usr/local/cwpsrv/htdocs/admin/include/postfix.php

i searched and found one post with a solution and try to set the password through SSh but the method does not working for me bellow error occurs please help to fix the issue

mysql>
mysql> SET PASSWORD FOR 'postfix'@'localhost' = PASSWORD('5OwXHuk');
ERROR 1133 (42000): Can't find any matching row in the user table
mysql>


mohamedsalama

go to /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php and get $db_pass_postfix value and create new user on mysql DB by name postfix and the password located on the file will fix the issue.

if you already have the user change the password by the same located on the file.