Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
658d4e75
Commit
658d4e75
authored
Oct 31, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add root access section to mysql docs
parent
5da40586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
README.md
README.md
+16
-0
No files found.
README.md
View file @
658d4e75
...
...
@@ -60,6 +60,7 @@ Laradock is configured to run Laravel Apps by default, and it can be modifyed to
-
[
Cron jobs
](
#CronJobs
)
-
[
Access workspace via ssh
](
#Workspace-ssh
)
-
[
MySQL access from host
](
#MySQL-access-from-host
)
-
[
MySQL root access
](
#MySQL-root-access
)
-
[
Use custom Domain
](
#Use-custom-Domain
)
-
[
Enable Global Composer Build Install
](
#Enable-Global-Composer-Build-Install
)
-
[
Install Prestissimo
](
#Install-Prestissimo
)
...
...
@@ -1096,6 +1097,21 @@ ports:
- "3306:3306"
```
<a
name=
"MySQL-root-access"
></a>
### MySQL root access
The default username and password for the root mysql user are
`root`
and
`root `
.
1 - Enter the mysql contaier:
`docker-compose exec mysql bash`
.
2 - Enter mysql:
`mysql -uroot -proot`
for non root access use
`mysql -uhomestead -psecret`
.
3 - See all users:
`SELECT User FROM mysql.user;`
4 - Run any commands
`show databases`
,
`show tables`
,
`select * from.....`
.
<a
name=
"Use-custom-Domain"
></a>
### Use custom Domain (instead of the Docker IP)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment