[solved] Howto work with MySQL databases on Buster?

Everything about X, Gnome, KDE, ... and everything running on it

[solved] Howto work with MySQL databases on Buster?

Postby Onsemeliot » 2020-07-15 08:15

Before Buster I just used phpMyAdmin and it installed the needed environment for my purpose but it seems that isn't automatically the case when using Adminer. I expected that Adminer woud install MariaDB by default but it seems to grap sqlite instead. Since I need to prepare stuff that would run on a common web server with MySQL installed I suspect it wouldn't be a good idea to use sqlite to prepare things for it.

So I figured installing MariaDB beforehand would cause the Adminer installation routine to not install sqlite additionally. I don't plan to use Perl but MariaDB wants to install several Perl resources. Is that optional (in case I want to use Perl) or does MaiaDB itself depend on it?
Code: Select all
# apt-get install mariadb-server mariadb-client
...
The following NEW packages will be installed:
  galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl
  libhtml-template-perl libterm-readkey-perl mariadb-client
  mariadb-client-10.3 mariadb-client-core-10.3 mariadb-server
  mariadb-server-10.3 mariadb-server-core-10.3 rsync socat
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.8 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Last edited by Onsemeliot on 2020-07-15 08:41, edited 1 time in total.
User avatar
Onsemeliot
 
Posts: 281
Joined: 2010-12-15 14:43

Re: Howto work with MySQL databases on Buster?

Postby cuckooflew » 2020-07-15 08:33

https://packages.debian.org/buster/mariadb-server-10.3
shows they are dependencies, you need to let them install.

dep: libdbi-perl
Perl Database Interface (DBI)


and here;https://packages.debian.org/buster/mariadb-server
says the above is a dependencie
dep: mariadb-server-10.3 (>= 1:10.3.22-0+deb10u1)
MariaDB database server binaries


====edit, had the stretch by mistake
Last edited by cuckooflew on 2020-07-15 08:43, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 681
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Howto work with MySQL databases on Buster?

Postby Onsemeliot » 2020-07-15 08:41

Thank you for your quick help, cuckooflew. Unfortunately, I do not always understand everything provided in manuals ...
User avatar
Onsemeliot
 
Posts: 281
Joined: 2010-12-15 14:43

Re: [solved] Howto work with MySQL databases on Buster?

Postby cuckooflew » 2020-07-15 08:48

Your welcome,
But it was not in the manual, it is on the Debian packages info,..how ever , yes it is rather confusing the way they show it,
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 681
Joined: 2018-05-10 19:34
Location: Some where out west


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable