Re: phpmyadmin import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-01-23 at 13:00 -0500, Austin Denyer wrote:
> Check the following entry in your php.ini file:
> 
> memory_limit
> 
> It's possible you may also need to check this one, too:
> 
> post_max_size

I realise that I may get flamed for this on a PHP list, but, generally
when I import sql files to mysql larger than the PHP seetings can
handle, I would use the mysql command line to do it:

mysql> \. /path/to/file.sql

That way, in the case that it is just once off test data, you don't have
to worry about fixing your PHP config later. OTOH if you do a lot of
large imports then it probably is worth your while changing the php.ini
in the ways described in this thread.

--Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux