I need to create a custom script and need to import SQL file for multi domain, but my SQL statement with a lot of domain info (URL, Admin user, Admin email...), how can i use a single SQL File for multi domain
You should replace such variables with [[VARIABLE_NAME]] in the sql file and the admin user email is generated in the install.xml file which asks the user for details on the install form. You can define your custom variables in the array $__settings['VARIABLE_NAME'] in install.php