all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
To: znavko@tutanota.com, Yoshinori Arai <kumagusu08@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Where is mysql/administration command?
Date: Mon, 18 Feb 2019 15:41:12 +0100	[thread overview]
Message-ID: <87tvh1yx9z.fsf@nckx> (raw)
In-Reply-To: <LYyq2do--3-1@tutanota.com>

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) 
’mysql-service’ actually uses MariaDB by default:

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

However, the ‘mysql’ 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 ‘mariadb’ instead.

  $ guix package -i mariadb

> Hope you enjoy GuixSD!

+1000!

(Though s/SD/ System ;-)

Kind regards,

T G-R

  parent reply	other threads:[~2019-02-18 14:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18  1:00 Where is mysql/administration command? Yoshinori Arai
2019-02-18  1:11 ` Tobias Geerinckx-Rice
2019-02-18  3:05   ` Yoshinori Arai
2019-02-18  4:23     ` znavko
2019-02-18  7:17       ` Yoshinori Arai
2019-02-18 14:41       ` Tobias Geerinckx-Rice [this message]
2019-02-18 19:16         ` znavko
2019-02-18 20:47           ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvh1yx9z.fsf@nckx \
    --to=somebody@not-sent-or-endorsed-by.tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=kumagusu08@gmail.com \
    --cc=znavko@tutanota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.