Re: PHP Pear DB - Importing an external LAGRE .sql file
| From: | Cesare D'Amico | Date: | Fri, 01 Aug 2008 07:20:31 +0000 |
| Subject: | Re: PHP Pear DB - Importing an external LAGRE .sql file | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29119@lists.php.net to get a copy of this message | ||
Il giorno venerdì 01 agosto 2008, liran tal ha scritto:
> I have tried to read a large (about 800kb) .sql file (INSERTs with
> lots of values) into a variable and then use that
> to populate the database with $res = $dbSocket->query($sql); (where
> $sql is the entire file) but I'm receiving DB errors.
_What_ errors? Perhaps that may help giving a response ;)
--
Cesare D'Amico | Gruppo Volta
Area tecnica | Web & Mkt Solutions
Tel: 045 21 000 84 | Via Leida 8 - Verona
Fax: 045 21 000 85 | http://www.gruppovolta.it