cucumber-wordpress icon indicating copy to clipboard operation
cucumber-wordpress copied to clipboard

Unable To Start Cucumber SQL syntax error

Open conatus opened this issue 13 years ago • 0 comments

Dear all,

Still can't get cucumber to start: : cucumber 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 '-test character set = utf8 collate = latin1_swedish_ci' at line 1 (Mysql::Error) /Library/Ruby/Gems/1.8/gems/cucumber-wordpress-1.3.1/lib/cucumber-wordpress.rb:49:in query' /Library/Ruby/Gems/1.8/gems/cucumber-wordpress-1.3.1/lib/cucumber-wordpress.rb:49:increate_db' /Library/Ruby/Gems/1.8/gems/cucumber-wordpress-1.3.1/lib/cucumber-wordpress.rb:14:in send' /Library/Ruby/Gems/1.8/gems/cucumber-wordpress-1.3.1/lib/cucumber-wordpress.rb:14:inmethod_missing' /Users/alex/Sites/wp-content/themes/XXXXXXSOMEDIR/features/support/env.rb:28 /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/rb_support/rb_language.rb:143:in load' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/rb_support/rb_language.rb:143:inload_code_file' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime/support_code.rb:176:in load_file' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime/support_code.rb:78:inload_files!' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime/support_code.rb:77:in each' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime/support_code.rb:77:inload_files!' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime.rb:137:in load_step_definitions' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime.rb:39:inrun!' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/cli/main.rb:43:in execute!' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/cli/main.rb:20:inexecute' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/cucumber:14 /usr/bin/cucumber:19:in `load' /usr/bin/cucumber:19

Content of my config.yml: ABSPATH: .. WEBHOST: localhost DB_NAME: test DB_USER: root DB_PASSWORD: pass DB_HOST: 127.0.0.1 DB_CHARSET: utf8 DB_COLLATE: latin1_swedish_ci TABLE_PREFIX: wp_

conatus avatar Apr 09 '11 18:04 conatus