phpMyAdmin also stinks

[web 2.0] 
I am trying to import a database to the MAMP install on my Macbook using phpMyAdmin's import tool. Trying to do this yields:
SQL query:

-- MySQL dump 10.10
--
-- Host: localhost Database: drupal
-- ------------------------------------------------------
-- Server version 5.0.24a-Debian_3-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;


MySQL said:

#1065 - Query was empty


This message is utterly useless. Googling around a bit did not yield a direct answer (that's why I'm blogging this) but it did point me in the right direction.

It seems that PHP has a set maximum for uploads. If you go over that, you get the useful help message above. PHP also has maxima for runtime memory and the likes, going over any of these limits results in truly obtuse errors which are near impossible to debug.

PHP is a ghetto.

Made by alper at 2007-01-10 14:53 | Place comment (1)

Comments

Re: phpMyAdmin also stinks
Actually, your real mistake involves using MySQL instead of postgresql.

http://www.zwitserloot.com/2006/12/02/database-land-postgres-scales-nicely/

Made by: Reinier Zwitserloot on January 10,2007 21:46