Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
broken-petclinic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s61200
broken-petclinic
Commits
6905e38c
Commit
6905e38c
authored
6 years ago
by
trisberg
Committed by
Dave Syer
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make MySQL configuration files/docs consistent
- use petclinic as the db name and root password Fixes #322
parent
dd5b080d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+4
-4
4 additions, 4 deletions
docker-compose.yml
src/main/resources/application-mysql.properties
+2
-2
2 additions, 2 deletions
src/main/resources/application-mysql.properties
with
6 additions
and
6 deletions
docker-compose.yml
+
4
−
4
View file @
6905e38c
mysql
:
image
:
mysql
image
:
mysql
:5.7
ports
:
-
"
3306:3306"
environment
:
-
MYSQL_ROOT_PASSWORD=
root
-
MYSQL_DATABASE=
test
-
MYSQL_ROOT_PASSWORD=
petclinic
-
MYSQL_DATABASE=
petclinic
volumes
:
-
"
./conf.d:/etc/mysql/conf.d:ro"
\ No newline at end of file
-
"
./conf.d:/etc/mysql/conf.d:ro"
This diff is collapsed.
Click to expand it.
src/main/resources/application-mysql.properties
+
2
−
2
View file @
6905e38c
# database init, supports mysql too
database
=
mysql
spring.datasource.url
=
jdbc:mysql://localhost/
test
spring.datasource.url
=
jdbc:mysql://localhost/
petclinic
spring.datasource.username
=
root
spring.datasource.password
=
root
spring.datasource.password
=
petclinic
# Uncomment this the first time the app runs
# spring.datasource.initialization-mode=always
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment