Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Use mysql user for MariaDB container
Browse files Browse the repository at this point in the history
As reported in #55, and partially addressed in #64.
  • Loading branch information
mglaman committed Feb 26, 2017
1 parent 86fcb06 commit 08ec363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/conf/mysql.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ socket = /var/run/mysqld/mysqld.sock
nice = 0

[mysqld]
user = root
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
Expand Down
2 changes: 1 addition & 1 deletion src/Docker/ComposeContainers.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function addDatabase()
{
$this->config['mariadb'] = [
// @todo if comman run with verbose, tag verbose.
'command' => 'mysqld --user=root --verbose',
'command' => 'mysqld --verbose',
'image' => 'mariadb',
'ports' => [
'3306',
Expand Down

0 comments on commit 08ec363

Please sign in to comment.