El archivo es de una base de datos de WordPress, de un blog, exportado con PhpMyAdmin (opcion "Exportar") y contiene mucho spam en una tabla en la que se guardan los comentarios, con muchas url's y mucho texto
He probado:
1) Cambiar en el php.ini el dato de upload_max_filesize.
No ha dado resultado
2) Entrar en MySql en modo consola, y ejecutar el comando
source ruta_al_archivo_sql
para importar el archivo. Me ha mostrado esto por pantalla:
Cita:
PAGER set to stdout
ERROR 2005: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
No connection. Trying to reconnect...
ERROR 2005: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
ERROR:
Can't connect to the server
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
ERROR 2005: Unknown MySQL Server Host '<a' (1)
No connection. Trying to reconnect...
ERROR 2005: Unknown MySQL Server Host '<a' (1)
ERROR:
Can't connect to the server
ERROR 2005: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
No connection. Trying to reconnect...
ERROR 2005: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
ERROR:
Can't connect to the server
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
PAGER set to stdout
ERROR 2005: Unknown MySQL Server Host '<a' (1)
No connection. Trying to reconnect...
ERROR 2005: Unknown MySQL Server Host '<a' (1)
ERROR:
Can't connect to the server
3) Usar el comando
cat ruta_archivo_sql | mysql
Y me ha dado este error, cuando en realidad no parece que haya ningun error de sintaxis
[QUOTE]ERROR 1064 at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[URL=http://h1.ripway.com/dating123/free-member-adult-friend-fin
[/QUOTE]
4) Usar el comando
mysql < ruta_archivo_sql
Y me ha salido este error:
Cita:
PAGER set to stdout
ERROR 2005 at line 2: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
ERROR 2005 at line 2: Unknown MySQL Server Host 'href="http://sfr.berkeley.edu/cgi-bin/anyboard/anyboard.cgi?pvp=main/&cmd=get&cG=4353&zu=3435&v=2&gV' (3)
Alguien me puede aportar una solucion? Gracias!!