Page 1 of 1

some like mysql_query("SOURCE='/file.sql'",$link);

Posted: Sun Jan 21, 2007 5:56 pm
by visonardo
hi, i uploaded my sql file in my server for example in /
then i want do the db with something thus

mysql_query("SOURCE='/file.sql'",$link);

and read all content and do all instructions, how can i do that?

Posted: Sun Jan 21, 2007 6:54 pm
by feyd
I don't recall that being allowed.

Search raghavan20's posts in regex for some examples.

Posted: Mon Jan 22, 2007 12:57 pm
by visonardo
feyd says about this topic but i wanna know if there is some instruccion in mysql that allow read directly an sql file with a single line like title of this topic. Isnt? i will check it in the files of phpmyadmin too.

Thank you feyd, i left this link here because can be useful to others.