help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is mysql/administration command?


From: Tobias Geerinckx-Rice
Subject: Re: Where is mysql/administration command?
Date: Mon, 18 Feb 2019 15:41:12 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]