Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
database-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
James Coyle
database-tests
Commits
c4026b29
Commit
c4026b29
authored
Dec 20, 2016
by
j38560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed line endings.
parent
4ad55572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
bin/remote/setup_mysql.sh
bin/remote/setup_mysql.sh
+11
-11
No files found.
bin/remote/setup_mysql.sh
View file @
c4026b29
...
...
@@ -6,15 +6,15 @@ apt update
export
DEBIAN_FRONTEND
=
noninteractive
echo
"mysql-server mysql-server/root_password password "
| debconf-set-selections
echo
"mysql-server mysql-server/root_password_again password "
| debconf-set-selections
apt
install
-y
-q
mysql-server
apt
install
-y
mysql-utilities
sed
-i
"s/.*bind-address.*/bind-address = 0.0.0.0/"
/etc/mysql/mysql.conf.d/mysqld.cnf
service mysql stop
service mysql start
mysql
-u
root
-e
"CREATE USER 'deployment'@'%' IDENTIFIED BY '';"
echo
"mysql-server mysql-server/root_password_again password "
| debconf-set-selections
apt
install
-y
-q
mysql-server
apt
install
-y
mysql-utilities
sed
-i
"s/.*bind-address.*/bind-address = 0.0.0.0/"
/etc/mysql/mysql.conf.d/mysqld.cnf
service mysql stop
service mysql start
mysql
-u
root
-e
"CREATE USER 'deployment'@'%' IDENTIFIED BY '';"
mysql
-u
root
-e
"GRANT ALL PRIVILEGES ON * . * TO 'deployment'@'%';"
\ No newline at end of file
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