SQL Database Remote Connections

Where do you change the settings to allow remote connections to databases for scripts and/or programs such as SQLyog?

MySQL or MSSQL?

MySQL should be enabled, but may need a firewall rule, MSSQL is required to be set in the SQL Configuration settings and SQL restarted afterwards