Use default user
This commit is contained in:
parent
04c6aaf338
commit
10c28a14fa
@ -76,7 +76,7 @@ docker-compose exec mysql bash
|
||||
*Example: enter to MySQL prompt within MySQL container*
|
||||
|
||||
```bash
|
||||
docker-compose exec mysql mysql -u homestead -psecret
|
||||
docker-compose exec mysql mysql -udefault -psecret
|
||||
```
|
||||
|
||||
3 - To exit a container, type `exit`.
|
||||
@ -1575,7 +1575,7 @@ The default username and password for the root MySQL user are `root` and `root `
|
||||
|
||||
1 - Enter the MySQL container: `docker-compose exec mysql bash`.
|
||||
|
||||
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -uhomestead -psecret`.
|
||||
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -udefault -psecret`.
|
||||
|
||||
3 - See all users: `SELECT User FROM mysql.user;`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user