Create a MySQL database using command line (CLI)
Andrew Fletcher published: 12 April 2022 3 minutes read
On your local OSX environment using Terminal or iTerm you can create a MySQL database, database user, and password, as well as, assign all privileges to the user for the database.
Knowing your credentials, before beginning you will need to know the following:
user: {user}
password: {password}
database: {database}
For my local environment, I'll be using these credentials
Connecting your Lando DB with an external MySQL app (Sequel Ace) on an local environment
Andrew Fletcher published: 15 March 2022 (updated) 12 April 2022 3 minutes read
This article assumes that you are running Docker and Lando already. Don't meet this... have a read through the following page "Building a Drupal or Laravel instance on OSX using Lando and Docker" for more.
I'll be using the following: .lando.yml file: