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

MariaDB v10

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
zukiblue
Posts: 2
Joined: Sat Nov 18, 2017 12:49 am

MariaDB v10
  • Quote

Post by zukiblue » Sat Nov 18, 2017 12:51 am

When will Vesta integrate the MariaDB v10 on vst-install.sh script ?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: MariaDB v10
  • Quote

Post by mehargags » Sat Nov 18, 2017 5:33 pm

If you install Ubuntu 16, Debian 9, or CentOS 7, the default MySQL installed is MariaDB only. Vesta installs default *available* pkg version in the default repos of the OS...

Pls be aware Debian 9 is still not supported officially
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: MariaDB v10
  • Quote

Post by plutocrat » Mon Nov 20, 2017 10:15 am

My experience on Ubuntu 16 was that mysql was installed by default. This caused problems, as mysql was version 5.7, and mariadb 10.x corresponds to mysql 5.6. There are substantial differences in the table structure between 5.6 and 5.7, so effectively downgrading from mysql 5.7 to mariadb 10.1 was a lot of hassle.

I think your best approach is to manually install mariadb first, and then run the vesta install script, with the "no mysql, no postgresql" option. (Update: I tried this recently on a new install, and it didn't work, as phpmyadmin and roundcube were not installed: they require a database to operate, and they think there isn't one available. Maybe the installer should check for the mysql executable instead).

And to answer your question 'when', its been proposed as a feature, but not yet accepted.
https://github.com/serghey-rodin/vesta/issues/1204
Last edited by plutocrat on Fri Apr 13, 2018 4:07 am, edited 1 time in total.
Top

zukiblue
Posts: 2
Joined: Sat Nov 18, 2017 12:49 am

Re: MariaDB v10
  • Quote

Post by zukiblue » Mon Nov 20, 2017 7:12 pm

I'll try to install mariadb 10 before VESTA

Thanks
Top

Fchen
Posts: 4
Joined: Mon Nov 20, 2017 10:35 pm

Re: MariaDB v10
  • Quote

Post by Fchen » Thu Nov 23, 2017 6:46 pm

I have performed a snap-in migration, simply do

Code: Select all

apt-get install mariadb-server
the install will remove mysql and install mariadb and ask you if you want to migrate data, everything worked fine on Debian 8.

I upgraded to mariadb because of the username length, but VestaCP still prevent longer names than 16 character, anything I missed?
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: MariaDB v10
  • Quote

Post by plutocrat » Fri Nov 24, 2017 4:05 am

Fchen wrote:I have performed a snap-in migration ... everything worked fine on Debian 8.
This will work on Debian as the migration is from mysql 5.5 to mariadb 10. For Ubuntu 16 and above, its much trickier as you're going from 5.7.

Re. Username size, you can check what your database is expecting with "show create table mysql.user;" which will display something like this.

Code: Select all

  `User` char(80) COLLATE utf8_bin NOT NULL DEFAULT '',
In my case the username can clearly be 80 characters. If you get the same and its still not working, I'd guess there's some check in the vestacp code which is not allowing longer names. https://github.com/serghey-rodin/vesta/issues/860
Top

Fchen
Posts: 4
Joined: Mon Nov 20, 2017 10:35 pm

Re: MariaDB v10
  • Quote

Post by Fchen » Thu Apr 12, 2018 4:14 pm

I have also 80 character per username, so there must be something in the VestaCP code.
Top


Post Reply
  • Print view

7 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