Related questions
$sql = file_get_contents(__DIR__ . '/dump.sql');
Find more questions by tags MySQLPHP