How to work on mysql database ?

  • From docker-homestead run command
$ docker-compose exec mysql bash
  • Run the following command, and login to mysql
$ mysql -u homestead -p
  • Then You will be able to do any database operation from command line.