NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Install MariaDB-Server v10.7
Started by getabbter

getabbter

getabbter

Member
Joined
08 Dec 2020
Last Seen
30 Nov 2022
Topics
1
Posts
1

It took me a long time to find the right tutorial on the internet, but I finally found it and want to share it with you:

 

Dependency:

  - PHP-Curl

 

Code:

-----------------------------------

- Execute when you have mysql already installed -

sudo apt-get remove mariadb-server

sudo apt autoremove

-----------------------------------

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-10.7"

sudo apt update-y

sudo systemctl restart mariadbsudo apt-get install mariadb-server mariadb-client mariadb-backup

 

*PS: If you cannot log in because of too many connections, open the file /etc/mysql/conf.d/mysql.cnf and add max_connections = 100 to a new line.

x1
getabbter · 29 days ago · Last edited: 29 days ago