Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install mariadb 10.11 #23

Closed
arhimede opened this issue May 2, 2023 · 3 comments
Closed

install mariadb 10.11 #23

arhimede opened this issue May 2, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@arhimede
Copy link
Member

arhimede commented May 2, 2023

https://github.com/dotkernel/development/blob/main/wsl/os/almalinux9/roles/mariadb/tasks/main.yml

Let's switch to 10.11 because of UUID data type

Also we need instruction how to upgrade

@arhimede arhimede added the enhancement New feature or request label May 2, 2023
alexmerlin added a commit that referenced this issue May 2, 2023
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
arhimede added a commit that referenced this issue May 2, 2023
Issue #23: Upgrade MariaDB from 10.6 to 10.11
@alexmerlin
Copy link
Member

alexmerlin commented May 2, 2023

Upgrading from MariaDB 10.6 to 10.11:

  • Using your terminal, access your instance of AlmaLinux9
  • Point MariaDB's repo file to version 10.11:
    sudo sed -i 's/10.6/10.11/' /etc/yum.repos.d/MariaDB.repo
  • Stop MariaDB 10.6:
    sudo systemctl stop mariadb
  • Uninstall MariaDB 10.6:
    sudo dnf remove MariaDB-server -y
  • Install MariaDB 10.11:
    sudo dnf install MariaDB-server -y
  • Start MariaDB 10.11:
    sudo systemctl start mariadb
  • Run mysql_upgrade command:
    sudo mysql_upgrade -uroot -p and enter your MariaDB root password.

@arhimede
Copy link
Member Author

arhimede commented May 4, 2023

@OnitaAndrei @SergiuBota1
whne you upgrader your WSL, please run after the last step a command like

sudo mysql_upgrade -uroot -pmypassword

@alexmerlin
Copy link
Member

Fixed in #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants