Results 1 to 3 of 3

Thread: Installed mysql-community-server from YAST, what's the root pass?

  1. #1

    Default Installed mysql-community-server from YAST, what's the root pass?

    I just installed mysql-community-server via YAST -> Software Management and it never asked me to create a password. When i tried logging in as root with no password it didn't work. How do I figure out what it is?

  2. #2
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    350

    Default AW: Installed mysql-community-server from YAST, what's the root pass?

    Quote Originally Posted by 6tr6tr View Post
    I just installed mysql-community-server via YAST -> Software Management and it never asked me to create a password. When i tried logging in as root with no password it didn't work. How do I figure out what it is?
    Have you tried to set a root password ?
    Code:
    mysqladmin -u root password 'PASSWORD_FOR_root'
    Best regards

    susejunky

  3. #3
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,448

    Default Re: Installed mysql-community-server from YAST, what's the root pass?

    It didn't ask you to create a root password because the first thing you should do after you have installed mysql or mariadb for the first time is to run
    Code:
    mysql_secure_installation
    This will not only let you set a root password; it will also remove some vulnerabilities which are deliberately left to facilitate certain types of installation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •