Author Topic: mysql_socat failing for new remote database server  (Read 4734 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
mysql_socat failing for new remote database server
« 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?
-Mohammed Wasayuddin Ahmed
- IASHINE CWPHOSTING

Offline
*
Re: mysql_socat failing for new remote database server
« Reply #1 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

 :)

-Mohammed Wasayuddin Ahmed
- IASHINE CWPHOSTING