Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !4891

Merged
Created 11 years ago by Administrator@rootOwner

Update databases.md

  • Overview 8
  • Commits 1
  • Changes 1

Created by: denics

run mysql_secure_installation to secure the freshly installed mysql server

Loading
Loading

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: dplarson

    Although I agree this is probably a good idea, can you provide more details/justification for adding this step to the installation guide?

    By Administrator on 2013-08-26T05:29:18 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: denics

    Hi @dplarson, it is usually a good practice, in production environments, to use the mysql_secure_installation command, to secure the initial installation. The default mysql installation come with the possibility of an empty root password (!), the possibility to connect as root from outside localhost, the possibility to connect as anonymous and a test db. All of these elements are dangerous, and the script has no side effects.

    By Administrator on 2013-08-26T18:55:41 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: dplarson

    So mysql_secure_installation:

    1. disables empty root passwords
    2. disables connection as root from outside localhost
    3. disables anonymous connections
    4. removes test database

    Sounds good to me. 👍

    By Administrator on 2013-08-26T20:46:52 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: denics

    ;)

    By Administrator on 2013-08-26T20:51:22 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: axilleas

    👍 That's what we have in the CentOS guide. Maybe add some comments like in CentOS for new users:

    Secure MySQL by entering a root password and say "Yes" to all questions

    By Administrator on 2013-08-27T10:35:25 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: Razer6

    @jacobvosmaer Looks good

    By Administrator on 2013-09-27T07:49:16 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: Razer6

    @jacobvosmaer I did not see that this PR was going to 6-0-stable. I think we should cherry-pick this to master

    By Administrator on 2013-09-27T11:18:56 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jacobvosmaer

    Thanks for spotting that @Razer6. I cherry-picked it.

    By Administrator on 2013-09-27T14:33:36 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
0 Reviewers
Request review from
Milestone
No milestone
None
None
Time tracking
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
participants
Reference:
Source branch: github/fork/denics/patch-2

    0 pending comments