It should be possible to create a drupal site with a domain name "test-page.com".
At the moment a "dash" is not allowed when creating the page.
Terminal output:
drush quickstart-create all --domain=test-page.com
[OK]
Creating dns config (add test-page.com to /etc/hosts) ... [OK]
... done. [OK]
Creating database: test-page_com [OK]
Command failed: [error]
ERROR 1064 (42000) 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 '-page_come@localhost IDENTIFIED BY 'test-page_com' WITH MAX_QUERIES_PER_HOUR 0 ' at line 1
Comments
Comment #1
Sean Buscay commentedHello frodus. I'm able to repeat your issue.
It's the hyphen in the URL. Do you need it for local dev work?
Change the command to:
drush quickstart-create all --domain=testpage.comAnd it will work.
If you have to have the hyphen then try adding:
after:
Around line: 171 in quickstart.drush.inc
Comment #2
Chris CharltonI was bit by this not knowing hyphens were an issue in QC right now. I figured we can strip out the hyphen where it'll fail, like MySQL (because dbname/dbuser can't use that character). I see some code is above, so I'll try to supply something more complete to merge; love to get the QC command support hyphens.