I am wondering if there is a way to define a .sql file as source in a setup script. I have a huge .sql file and I don't think it is pretty to paste it in my php as this.
my file is composed of 60k insert into lines.
Of course I know I can do a fopen on my .sql file, so I am not blocked but I was wondering if there is a native functionality that can do it.
Thanks