the default settings.php is this:
Quote$db_server = 'localhost';
can i use an external IP , for example a cloud hosting, that will handle all sql requests? BUT i want this IP to be hidden . also which ports must be open ?
you can use a mysql server that is located wherever you want, a lot of shared servers have mysql on a separate server so an ip address can be used there, and not be noticed by anyone. for information about which ports to open, I suggest you find a mysql forum as they would know more then we would here.
i was wondering if i share the loading into 2 machines, will this prevent ddos sql attacks?