Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
7ffd0d3b
Commit
7ffd0d3b
authored
Jan 09, 2017
by
Guillaume Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab from sources : proper utf8mb4 support for MySQL 5.5 to 5.7
parent
707570ac
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
208 additions
and
7 deletions
+208
-7
config/database.yml.mysql
config/database.yml.mysql
+4
-4
doc/install/database_mysql.md
doc/install/database_mysql.md
+202
-3
doc/update/8.15-to-8.16.md
doc/update/8.15-to-8.16.md
+2
-0
No files found.
config/database.yml.mysql
View file @
7ffd0d3b
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
#
#
production:
production:
adapter: mysql2
adapter: mysql2
encoding: utf8
mb4
encoding: utf8
collation: utf8
mb4
_general_ci
collation: utf8_general_ci
reconnect: false
reconnect: false
database: gitlabhq_production
database: gitlabhq_production
pool: 10
pool: 10
...
@@ -18,8 +18,8 @@ production:
...
@@ -18,8 +18,8 @@ production:
#
#
development:
development:
adapter: mysql2
adapter: mysql2
encoding: utf8
mb4
encoding: utf8
collation: utf8
mb4
_general_ci
collation: utf8_general_ci
reconnect: false
reconnect: false
database: gitlabhq_development
database: gitlabhq_development
pool: 5
pool: 5
...
...
doc/install/database_mysql.md
View file @
7ffd0d3b
This diff is collapsed.
Click to expand it.
doc/update/8.15-to-8.16.md
View file @
7ffd0d3b
...
@@ -97,6 +97,8 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
...
@@ -97,6 +97,8 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo
-u
git
-H
bundle
exec
rake assets:clean assets:precompile cache:clear
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:clean assets:precompile cache:clear
RAILS_ENV
=
production
```
```
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
### 6. Update gitlab-workhorse
### 6. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires
Install and compile gitlab-workhorse. This requires
...
...
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