MySQL Error Solution: Can’t create table ‘tablename’ (errno: 150)

MySQL error: Can’t create table ‘tablename’ (errno: 150) can occur when you, for example, upload a backup and MySQL is powered to create table 1 which refers to table 2, which essentially does not exist yet. You can solve by inserting the lines at the beginning in the backup:

Continue reading “MySQL Error Solution: Can’t create table ‘tablename’ (errno: 150)”

How to allow all outgoing ports in CSF

Once on the same server running cPanel, CSF (Config Server Firewall) and LFD (Login Failure Daemon) I wanted to run the Speedtest CLI, but it did not start because it could not connect to the servers, I opened the CSF settings through the WHM panel (at the very bottom menu “ConfigServer Security & Firewall” – “Firewall Configuration”), where he discovered that only a few outgoing ports were open:

Continue reading “How to allow all outgoing ports in CSF”