mysql - Getting error importing into phpMyAdmin a database exported from phpMyAdmin -


i'm trying deploy drupal 7 site local dev server online host.

i export database using export function in phpmyadmin , import file on host end using phpmyadmin. phpmyadmin versions same on both ends, , have tried both quick export , many settings, matching settings on import, , same #1064 syntax error every time. don't see issues sql, looks fine me. have taken exported sql , pasted phpmyadmin sql statement , exact same error when run it.

here's error:

error static analysis:  1 errors found during analysis.  closing bracket expected. (near ")" @ position 88) sql query:  create table if not exists `actions` ( `aid` varchar(255) not null default '0'comment )  mysql said: documentation  #1064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near ')' @ line 3 

here's top of sql file error triggered:

set sql_mode = "no_auto_value_on_zero"; set time_zone = "+00:00";  /*!40101 set @old_character_set_client=@@character_set_client */; /*!40101 set @old_character_set_results=@@character_set_results */; /*!40101 set @old_collation_connection=@@collation_connection */; /*!40101 set names utf8mb4 */;   create table if not exists `actions` (   `aid` varchar(255) not null default '0'comment );  insert `actions` (`aid`, `type`, `callback`, `parameters`, `label`) values ('comment_publish_action', 'comment', 'comment_publish_action', '', 'publish comment'), ('comment_save_action', 'comment', 'comment_save_action', '', 'save comment'), ('comment_unpublish_action', 'comment', 'comment_unpublish_action', '', 'unpublish comment'), ('node_make_sticky_action', 'node', 'node_make_sticky_action', '', 'make content sticky'), ('node_make_unsticky_action', 'node', 'node_make_unsticky_action', '', 'make content unsticky'), ('node_promote_action', 'node', 'node_promote_action', '', 'promote content front page'), ('node_publish_action', 'node', 'node_publish_action', '', 'publish content'), ('node_save_action', 'node', 'node_save_action', '', 'save content'), ('node_unpromote_action', 'node', 'node_unpromote_action', '', 'remove content front page'), ('node_unpublish_action', 'node', 'node_unpublish_action', '', 'unpublish content'), ('pathauto_node_update_action', 'node', 'pathauto_node_update_action', '', 'update node alias'), ('pathauto_taxonomy_term_update_action', 'taxonomy_term', 'pathauto_taxonomy_term_update_action', '', 'update taxonomy term alias'), ('pathauto_user_update_action', 'user', 'pathauto_user_update_action', '', 'update user alias'), ('system_block_ip_action', 'user', 'system_block_ip_action', '', 'ban ip address of current user'), ('user_block_user_action', 'user', 'user_block_user_action', '', 'block current user'); 

anyone else encountered before? suggestions remedy? should work (i've done before) , don't want site out generic new drupal install backup & migrate module installed transfer of data.

thanks in advance assistance.

which phpmyadmin version using? there version parser didn't extract comment data correctly , appears if you're using version (notice default '0'comment portion, in particular). easiest solution upgrade phpmyadmin installations on both sides latest version compatible mysql , php versions.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -