Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/01/2011, 21:29
pedrotorvisco
 
Fecha de Ingreso: enero-2011
Mensajes: 1
Antigüedad: 13 años, 3 meses
Puntos: 0
Exclamación Problema al migrar una Base de datos para wordpress

En su momento hice una copia de seguridad de la base de datos directamente desde phpmyadmin (exportar) y me creó un archivo .sql.
He creado una nueva Base de datos y he ejecutado el archivo .sql desde la pestaña SQL del phpmyadmin (borrando previamente desde Bloc de Notas el encabezado del archivo que se refería a los datos de la bbdd anterior y la acción CREATE DATABASE)
Cuando lo ejecuto me da el siguiente ERROR:

"Parece haber un error en su consulta de SQL. La salida generada por el servidor de MySQL, de existir, aparece abajo, en cuyo caso puede ayudar a diagnosticar el problema."

He observado que me ha creado correctamente todas las tablas, pero en la última es donde aparece el error, ya que en el archivo .SQL llega un punto en que empieza a aparecer este código en HTML y no se si se refiere a un error a la hora de crear la copia de seguridad (espero que no porque el original está borrado) o porque hay que hacer la importación de otra manera.

Código HTML:
<br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/ob.lib.php</b> on line <b>83</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>22</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>23</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>24</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>25</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin/export.php:190) in <b>/var/www/html/phpMyAdmin/libraries/header_http.inc.php</b> on line <b>28</b><br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" dir="ltr"> <head> <link rel="icon" href="./favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" /> <title>phpMyAdmin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="phpmyadmin.css.php?token=9e3eb2e6e324d624d3c09fd5d5965fdb&js_frame=right&nocache=3783457650" /> <link rel="stylesheet" type="text/css" href="print.css" media="print" /> <script type="text/javascript"> try { // can't access this if on a different domain var topdomain = top.document.domain; // double-check just for sure if (topdomain != self.document.domain) { alert("Redirecting..."); top.location.replace(self.document.URL.substring(0, self.document.URL.lastIndexOf("/")+1)); } } catch(e) { alert("Redirecting... (error: " + e); top.location.replace(self.document.URL.substring(0, self.document.URL.lastIndexOf("/")+1)); } </script> <script type="text/javascript"> // <![CDATA[ // Updates the title of the frameset if possible (ns4 does not allow this) if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string') { parent.document.title = 'mysql.luisramiro.com / localhost / / wp_postmeta | phpMyAdmin 2.11.11'; } // ]]> </script> <script src="./js/tooltip.js" type="text/javascript"></script> <meta name="OBGZip" content="true" /> <!--[if IE 6]> <style type="text/css"> /* <![CDATA[ */ html { overflow-y: scroll; } /* ]]> */ </style> <![endif]--> </head> <body> <div id="TooltipContainer" onmouseover="holdTooltip();" onmouseout="swapTooltip('default');"></div> <div id="serverinfo"> <a href="main.php?token=9e3eb2e6e324d624d3c09fd5d5965fdb" class="item"> <img class="icon" src="./themes/original/img/s_host.png" width="16" height="16" alt="" /> Servidor: localhost</a> </div> <!-- PMA-SQL-ERROR --> <div class="error"><h1>Error</h1> <p><strong>consulta SQL:</strong> </p> <p> <span class="syntax"><span class="syntax_alpha syntax_alpha_reservedWord">SHOW</span> <span class="syntax_alpha syntax_alpha_reservedWord">TABLE</span> <span class="syntax_alpha syntax_alpha_reservedWord">STATUS</span> <span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_quote syntax_quote_backtick">`qgx398`</span> <span class="syntax_alpha syntax_alpha_reservedWord">LIKE</span> <span class="syntax_quote syntax_quote_single">'wp_postmeta'</span></span> </p> <p> <strong>MySQL ha dicho: </strong><a href="http://dev.mysql.com/doc/refman/5.0/es/error-messages-server.html" target="mysql_doc"><img class="icon" src="./themes/original/img/b_help.png" width="11" height="11" alt="Documentación" title="Documentación" /></a> </p> <code> #2006 - MySQL server has gone away </code><br /> </div><fieldset class="tblFooters"> </fieldset> <script type="text/javascript"> //<![CDATA[ // updates current settings if (window.parent.setAll) { window.parent.setAll('es-utf-8', 'utf8_unicode_ci', '1', '', 'wp_postmeta', '9e3eb2e6e324d624d3c09fd5d5965fdb'); } // set current db, table and sql query in the querywindow if (window.parent.reload_querywindow) { window.parent.reload_querywindow( '', 'wp_postmeta', ''); } if (window.parent.frame_content) { // reset content frame name, as querywindow needs to set a unique name // before submitting form data, and navigation frame needs the original name if (typeof(window.parent.frame_content.name) != 'undefined' && window.parent.frame_content.name != 'frame_content') { window.parent.frame_content.name = 'frame_content'; } if (typeof(window.parent.frame_content.id) != 'undefined' && window.parent.frame_content.id != 'frame_content') { window.parent.frame_content.id = 'frame_content'; } //window.parent.frame_content.setAttribute('name', 'frame_content'); //window.parent.frame_content.setAttribute('id', 'frame_content'); } //]]> </script> </body> </html>  ��B� 
Espero que me podáis ayudar y evitarme volver a crear todo desde 0.

Muchas gracias por vuestro tiempo.