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
Boxiang Sun
gitlab-ce
Commits
58bb7032
Commit
58bb7032
authored
Jun 29, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that GitLab 9.3 requires the TRIGGER permission on MySQL
parent
6205e457
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
doc/install/database_mysql.md
doc/install/database_mysql.md
+1
-1
doc/update/8.9-to-8.10.md
doc/update/8.9-to-8.10.md
+1
-1
doc/update/9.2-to-9.3.md
doc/update/9.2-to-9.3.md
+13
-4
No files found.
doc/install/database_mysql.md
View file @
58bb7032
...
@@ -43,7 +43,7 @@ mysql> SET GLOBAL innodb_file_per_table=1, innodb_file_format=Barracuda, innodb_
...
@@ -43,7 +43,7 @@ mysql> SET GLOBAL innodb_file_per_table=1, innodb_file_format=Barracuda, innodb_
mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
# Grant the GitLab user necessary permissions on the database
# Grant the GitLab user necessary permissions on the database
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, DROP, INDEX, ALTER, LOCK TABLES, REFERENCES ON `gitlabhq_production`.* TO 'git'@'localhost';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, DROP, INDEX, ALTER, LOCK TABLES, REFERENCES
, TRIGGER
ON `gitlabhq_production`.* TO 'git'@'localhost';
# Quit the database session
# Quit the database session
mysql> \q
mysql> \q
...
...
doc/update/8.9-to-8.10.md
View file @
58bb7032
...
@@ -156,7 +156,7 @@ See [smtp_settings.rb.sample] as an example.
...
@@ -156,7 +156,7 @@ See [smtp_settings.rb.sample] as an example.
Ensure you're still up-to-date with the latest init script changes:
Ensure you're still up-to-date with the latest init script changes:
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
For Ubuntu 16.04.1 LTS:
For Ubuntu 16.04.1 LTS:
sudo systemctl daemon-reload
sudo systemctl daemon-reload
...
...
doc/update/9.2-to-9.3.md
View file @
58bb7032
...
@@ -157,7 +157,16 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
...
@@ -157,7 +157,16 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
sudo
-u
git
-H
make
sudo
-u
git
-H
make
```
```
### 10. Update configuration files
### 10. Update MySQL permissions
If you are using MySQL you need to grant the GitLab user the necessary
permissions on the database:
```
bash
mysql
-u
root
-p
-e
"GRANT TRIGGER ON
\`
gitlabhq_production
\`
.* TO 'git'@'localhost';"
```
### 11. Update configuration files
#### New configuration options for `gitlab.yml`
#### New configuration options for `gitlab.yml`
...
@@ -231,7 +240,7 @@ For Ubuntu 16.04.1 LTS:
...
@@ -231,7 +240,7 @@ For Ubuntu 16.04.1 LTS:
sudo
systemctl daemon-reload
sudo
systemctl daemon-reload
```
```
### 1
1
. Install libs, migrations, etc.
### 1
2
. Install libs, migrations, etc.
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -257,14 +266,14 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
...
@@ -257,14 +266,14 @@ sudo -u git -H bundle exec rake 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
)
.
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
### 1
2
. Start application
### 1
3
. Start application
```
bash
```
bash
sudo
service gitlab start
sudo
service gitlab start
sudo
service nginx restart
sudo
service nginx restart
```
```
### 1
3
. Check application status
### 1
4
. Check application status
Check if GitLab and its environment are configured correctly:
Check if GitLab and its environment are configured correctly:
...
...
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