From 9f28dc6a7320dad3180b56fee7b0e3223761bf02 Mon Sep 17 00:00:00 2001 From: tobiaslounsbury Date: Fri, 2 May 2014 11:07:48 -0700 Subject: [PATCH] Calrified the MySQL permissions needed --- src/Amp/Command/ConfigCommand.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Amp/Command/ConfigCommand.php b/src/Amp/Command/ConfigCommand.php index d5ad43c..167d619 100644 --- a/src/Amp/Command/ConfigCommand.php +++ b/src/Amp/Command/ConfigCommand.php @@ -46,6 +46,17 @@ protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln(""); $output->writeln("=============================[ Configure MySQL ]============================="); + $output->writeln(""); + $output->writeln("" + ."Amp creates a unique MySQL user for each generated instance.\n" + ."To accomplish this amp needs GRANT-level privileges. It is\n" + ."recommended that you supply the root/administrator credentials\n" + ."for this task. If you wish to create a new user for amp to use\n" + ."please assign it appropriate privileges eg:\n\n" + ."GRANT ALL ON *.* to '#user'@'localhost' IDENTIFIED BY '#pass' WITH GRANT OPTION" + ."" + ); + $this->config->setParameter('mysql_type', 'dsn'); // temporary limitation $this->askMysqlDsn()->execute($input, $output, $dialog);