Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Update MariaDB on Debian 9

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
snakom23
Posts: 11
Joined: Fri Aug 26, 2016 1:34 pm

Update MariaDB on Debian 9
  • Quote

Post by snakom23 » Fri Jul 13, 2018 7:47 am

I want update my version MariaDB 10.1 to 10.3, how can do it?

I have Debian 9.
Top

binboum
Posts: 1
Joined: Mon Aug 06, 2018 10:58 pm

Os: Debian 8x
Web: nginx + php-fpm
Re: Update MariaDB on Debian 9
  • Quote

Post by binboum » Thu Aug 09, 2018 12:30 pm

Hi,

You can do like that

Code: Select all

apt-get install software-properties-common dirmngr
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.igh.cnrs.fr/pub/mariadb/repo/10.3/debian stretch main'
apt-get install mariadb-server-10.3 mariadb-client-10.3
You leave empty when you ask for a password

After u can enter mysql command :

Code: Select all

mysql
If you see this error

Code: Select all

“ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded”
Else

Code: Select all

systemctl stop mysql

mysqld_safe --skip-grant-tables &
mysql -uroot
use mysql;
update user set plugin="mysql_native_password";
flush privileges;

CTRL + D

kill -9 $(pgrep mysql)

systemctl start mysql
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password