From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Where is mysql/administration command? Date: Mon, 18 Feb 2019 20:16:32 +0100 (CET) Message-ID: References: <20190218010031.xhqam5qzdoaed5lp@WaraToNora> <<20190218010031.xhqam5qzdoaed5lp@WaraToNora>> <87zhqtc33z.fsf@nckx> <<87zhqtc33z.fsf@nckx>> <20190218030557.kzndagqhe5o54ncn@WaraToNora> <> <87tvh1yx9z.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35929_454942646.1550517392554" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvoPM-0007ky-3N for help-guix@gnu.org; Mon, 18 Feb 2019 14:16:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvoPH-000472-Sn for help-guix@gnu.org; Mon, 18 Feb 2019 14:16:51 -0500 Received: from w1.tutanota.de ([81.3.6.162]:44242) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvoPH-0003t0-4I for help-guix@gnu.org; Mon, 18 Feb 2019 14:16:47 -0500 In-Reply-To: <87tvh1yx9z.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice Cc: help-guix ------=_Part_35929_454942646.1550517392554 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Tobias Geerinckx-Rice! I use su, just for own commodity. The difference for me is that su does not= need to type 'sudo' every time. Some howtos mention meariadb package, the others type mysql.=20 What is the difference between mariadb and mysql?=20 Feb 18, 2019, 2:41 PM by somebody@not-sent-or-endorsed-by.tobias.gr: > Hullo, > > znavko wrote: > >> To use mysql/administration commands on GuixSD need to have both: >> mysql service >> mysql package >> When you've reconfigured your system adding mysql service to your config= file you can either install mysql for root user >> > > Just curious: why for root? Do you prefer su to sudo, or does it make a = real difference? > >> with `# guix package -i mysql` or add mysql package system-wide (for all= users) in '(packages ...)' section in your system config. >> > > Hmm. It's important to note that Guix's (historically-named) =E2=80=99my= sql-service=E2=80=99 actually uses MariaDB by default: > > ;; From gnu/services/databases.scm: > (define-record-type* > mysql-configuration make-mysql-configuration > mysql-configuration? > (mysql mysql-configuration-mysql (default mariadb)) > (port mysql-configuration-port (default 3306))) > > However, the =E2=80=98mysql=E2=80=99 package *is* actually MySQL, not Mar= iaDB. > > I don't know how compatible the two projects still are, but it's probably= much safer to install =E2=80=98mariadb=E2=80=99 instead. > > $ guix package -i mariadb > >> Hope you enjoy GuixSD! >> > > +1000! > > (Though s/SD/ System ;-) > > Kind regards, > > T G-R > ------=_Part_35929_454942646.1550517392554 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello, Tobias Geerinckx-Rice!
I use su, just for own commodit= y. The difference for me is that su does not need to type 'sudo' every time= .

=
Some howtos mention meariadb package, the others type mysql.
What is the difference between ma= riadb and mysql?


=
Feb 18, 2019, 2:41 PM by some= body@not-sent-or-endorsed-by.tobias.gr:
Hullo,

znavko wrote:
To use mysql/administration commands on GuixSD need to have bot= h:
mysql service
=
mysql package
When you've reconfigured your system adding m= ysql service to your config file you can either install mysql for root user=

Just curious: why for root? Do you p= refer su to sudo, or does it make a real difference?
w= ith `# guix package -i mysql` or add mysql package system-wide (for all use= rs) in '(packages ...)' section in your system config.

Hmm. It's important to note that Guix's (historically-named) = =E2=80=99mysql-service=E2=80=99 actually uses MariaDB by default:
=

;; From gnu/services/databases.scm:
(define-record-type* <mysql-configuration>=
mysql-configuration make= -mysql-configuration
mysq= l-configuration?
(mysql m= ysql-configuration-mysql (default mariadb))
(port mysql-configuration-port (default 3306)))

However, the =E2=80=98mysql=E2=80=99 package *is* actually = MySQL, not MariaDB.

I don't know how compatible the= two projects still are, but it's probably much safer to install =E2=80=98m= ariadb=E2=80=99 instead.
<= br>
$ guix package -i mariadb=
Hope you enjoy GuixSD!

+1000!

(Though s/SD/ System ;-)

Kind regards,

T G-R

------=_Part_35929_454942646.1550517392554--