DownloadLarastarter
Laravel's clean project with Docker....
Starting
Access the database from outside the docker
-
Connect on the mysql docker:
$ docker exec -it larastarter_database_1 bash
-
Access mysql:
$ mysql -u root -p
-
The password is 123
-
Run the commands:
mysql> GRANT ALL PRIVILEGES ON . TO 'admin'@'%';
mysql> GRANT ALL PRIVILEGES ON . TO 'root'@'%';
mysql> FLUSH PRIVILEGES;
##### Done. Now you can access through the workbench or others.
Some problem with the MySQL
|