[SOLVED]Install Mariadb from source

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]Install Mariadb from source

Postby pabbuu28 » Mar 25th, '20, 13:49

Hello all
Could you give advise installing mariadb from source on mageia 64 bit. I already have installed mariadb version 10.1, due to some problems with it i need new version of mariadb. My first question is how to properly delete current installed mariadb from system? Second is it better install this one mariadb-10.4.12-linux-systemd-x86_64.tar.gz (for systems with systemd) or this one mariadb-10.4.12.tar.gz ?

Regards,
Jasur
Last edited by pabbuu28 on Mar 26th, '20, 21:47, edited 1 time in total.
pabbuu28
 
Posts: 11
Joined: Jan 8th, '19, 18:10

Re: Install Mariadb from source

Postby doktor5000 » Mar 26th, '20, 00:49

pabbuu28 wrote:I already have installed mariadb version 10.1, due to some problems with it i need new version of mariadb.

It would be a better idea if you would provide some context information and some details what particular problems you are referring to.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15474
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Install Mariadb from source

Postby pabbuu28 » Mar 26th, '20, 10:19

Creating schema DB

01:14:13 PM Restoring /home/jasuryuldashev/Downloads/Telegram Desktop/db_att.sql
Running: mysql --defaults-file="/tmp/tmp2yI8YP/extraparams.cnf" --protocol=tcp --host=localhost --user=jasur --port=3306 --default-character-set=utf8 --comments --database=DB < "/home/jasuryuldashev/Downloads/Telegram Desktop/db_att.sql"
ERROR 1071 (42000) at line 201: Specified key was too long; max key length is 767 bytes

Operation failed with exitcode 1
01:14:16 PM Import of /home/jasuryuldashev/Downloads/Telegram Desktop/db_att.sql has finished with 1 errors

The above error occured in mysql-workbench when i am trying to import db_att.sql
pabbuu28
 
Posts: 11
Joined: Jan 8th, '19, 18:10

Re: Install Mariadb from source

Postby doktor5000 » Mar 26th, '20, 18:12

So you're trying to restore your telegram backup, correct? And did you manually create that db_att.sql ?

For that you don't need to install mariadb from source.
Read up on your issue, e.g. https://stackoverflow.com/questions/181 ... -767-bytes or maybe https://wildlyinaccurate.com/mysql-spec ... 767-bytes/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15474
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Install Mariadb from source

Postby pabbuu28 » Mar 26th, '20, 21:46

doktor5000 wrote:So you're trying to restore your telegram backup, correct? And did you manually create that db_att.sql ?

No, this our team project from Database Application and Design course, it is for attendance management system through qr code, we created ER-diagram on paper, and my friend created that db_att.sql on phpmyadmin.
doktor5000 wrote: https://wildlyinaccurate.com/mysql-spec ... 767-bytes/

This article helped me, setting character to UTF-8 solved my problem
Thank you very much
pabbuu28
 
Posts: 11
Joined: Jan 8th, '19, 18:10


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron