Run MySQL SQL from bash or password user at default



I’ve recently made an installation script for concrete5

concrete5 installation command line tool doesn’t allow empty MySQL password for the security reason.

Therefore, I have to add extra command to create MySQL user with password.

I would like to submit my feature request to either:

  • I want Cloud9 to create a user (e.g., c9) with default password (e.g., c9) as default
  • Add mysql-ctl cli's ability to pass command line so that I can fed the SQL command. Like mysql-ctl cli "CREATE USER 'c9'@'' IDENTIFIED BY 'c9';" which is equivalent to -e option of mysql command.

Thanks a lot for providing the great service!