Control Web Panel

WebPanel => Installation => Topic started by: cwphosting_iashine on February 14, 2018, 09:21:29 PM

Title: mysql_socat failing for new remote database server
Post by: cwphosting_iashine on February 14, 2018, 09:21:29 PM
Hi All

I was able to correctly follow the instruction provided in the wiki link

http://wiki.centos-webpanel.com/remote-mysql-with-socat-socket

Which worked perfectly fine but I end up rebuilding the database server due to lack of disk now when I connect using new IP it says connection refused.

Though CWP confirms it could connect on socat 3307 but vice-versa cannot.

Not sure if I have to rebuild cwp again since I checked netstat -nltp is not showing any port 3307

Also do I have to disable firewall?

What should be the CSF firewall rule for this?
Title: Re: mysql_socat failing for new remote database server
Post by: cwphosting_iashine on February 15, 2018, 08:35:37 PM
Did a reinstall and resolved it.

Firewall is also enabled now.

Not sure what was the earlier issue.

Also had to update create a postfix user id and password should be similar to what on webserver:

cat  /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php

 :)