Kedves Fórumozók! 
Egy nagyon régi blogom adatbázisát szeretném visszaállítani egy 2009-es exportfáljból. Az SQL fájl gyanúsan nagy, 16,5 MB tömörítés nélkül, de nem ez a gond, hanem az, hogy nem tudom importálni az alábbi hibaüzenet miatt.
<h1>Error</h1>
SQL query:
<code class=“sql”>
<code class="sql">CREATE TABLEmr_comments(comment_IDbigint(20) unsigned NOT NULL auto_increment,comment_post_IDint(11) NOT NULL default '0',comment_authortinytext NOT NULL,comment_author_emailvarchar(100) NOT NULL default '',comment_author_urlvarchar(200) NOT NULL default '',comment_author_IPvarchar(100) NOT NULL default '',comment_datedatetime NOT NULL default '0000-00-00 00:00:00', <code class="sql">comment_date_gmtdatetime NOT NULL default '0000-00-00 00:00:00',comment_contenttext NOT NULL,comment_karmaint(11) NOT NULL default '0',comment_approvedvarchar(20) NOT NULL default '1',comment_agentvarchar(255) NOT NULL default '',comment_typevarchar(20) NOT NULL default '',comment_parentbigint(20) NOT NULL default '0',user_idbigint(20) NOT NULL default '0', PRIMARY KEY (comment_ID), KEYcomment_approved(comment_approved), KEYcomment_post_ID(comment_post_ID), KEYcomment_approved_date_gmt(comment_approved,`[...] </pre> <strong>MySQL said: </strong><a href="http://67.23.226.119:2082/cpsess9708947432/3rdparty/phpMyAdmin/url.php?url=https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.7%2Fen%2Ferror-messages-server.html" target="mysql_doc"><img src="http://67.23.226.119:2082/cpsess9708947432/3rdparty/phpMyAdmin/themes/dot.gif" alt="Documentation" /></a>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 22Sajnos új exportfájlt már nem tudok csinálni, ezt kellene megjavítani valahogy. :) A projekt nem égető, korábban már kivettem a kommentekre vonatkozó táblákat, és úgy működött, de szeretnék tanulni belőle. A Google-ben körülnéztem már, de nem igazán értettem a leírásokat. Minden tippnek örülök! Előre is köszönöm! Viktor