0

When I run command "drush status" I cannot see any MySQL settings (user, password or database).

I cannot use commands like "core-quick-drupal" because it requires access to MySQL, before /sites/default/settings.php is created.

How can I set such MySQL connection?

I have installed drush in linux in directory /user/share/php

When I install Drupal from web browser interface, I can see that database support is enabled. I have problem only when installing drupal via drush

1
  • have you tried drush help site-install?
    – tenken
    Commented Aug 20, 2014 at 18:12

1 Answer 1

2

core-quick-drupal doesn't require mysql, it would use something like sqlite. drush site-install allows you to specify config options like the mysql connection. For example:

drush site-install mysite --db-url=mysql://user:pass@server/dbname

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.