Outils pour utilisateurs

Outils du site


bsd:bsfmys

Table des matières

MYSQL-SERVER


Services Réseaux

Ceci n'est pas MariaDB

Le chemin des bases de données par défaut

/var/db/mysql/

8.0.17


pkg install mysql80-server
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01    
Fetching packagesite.txz: 100%    6 MiB 315.4kB/s    00:21    
Processing entries: 100%
FreeBSD repository update completed. 32620 packages processed.
All repositories are up to date.
The following 9 package(s) will be affected (of 0 checked):
 
New packages to be INSTALLED:
	mysql80-server: 8.0.17
	re2: 20190701_1
	protobuf: 3.9.2,1
	libunwind: 20170615
	libevent: 2.1.11
	libedit: 3.1.20190324,1
	icu: 64.2,1
	mysql80-client: 8.0.17
	liblz4: 1.9.2,1
 
Number of packages to be installed: 9
 
The process will require 341 MiB more space.
33 MiB to be downloaded.
 
Proceed with this action? [y/N]: y
[1/9] Fetching mysql80-server-8.0.17.txz: 100%   16 MiB 748.1kB/s    00:23    
[2/9] Fetching re2-20190701_1.txz: 100%  233 KiB 238.5kB/s    00:01    
[3/9] Fetching protobuf-3.9.2,1.txz: 100%    3 MiB 308.7kB/s    00:09    
[4/9] Fetching libunwind-20170615.txz: 100%  117 KiB 119.7kB/s    00:01    
[5/9] Fetching libevent-2.1.11.txz: 100%  314 KiB 160.7kB/s    00:02    
[6/9] Fetching libedit-3.1.20190324,1.txz: 100%  132 KiB 135.2kB/s    00:01    
[7/9] Fetching icu-64.2,1.txz: 100%   10 MiB 645.6kB/s    00:16    
[8/9] Fetching mysql80-client-8.0.17.txz: 100%    3 MiB 419.7kB/s    00:08    
[9/9] Fetching liblz4-1.9.2,1.txz: 100%  165 KiB 169.4kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/9] Installing re2-20190701_1...
[1/9] Extracting re2-20190701_1: 100%
[2/9] Installing protobuf-3.9.2,1...
[2/9] Extracting protobuf-3.9.2,1: 100%
[3/9] Installing libunwind-20170615...
[3/9] Extracting libunwind-20170615: 100%
[4/9] Installing libevent-2.1.11...
[4/9] Extracting libevent-2.1.11: 100%
[5/9] Installing libedit-3.1.20190324,1...
[5/9] Extracting libedit-3.1.20190324,1: 100%
[6/9] Installing icu-64.2,1...
[6/9] Extracting icu-64.2,1: 100%
[7/9] Installing liblz4-1.9.2,1...
[7/9] Extracting liblz4-1.9.2,1: 100%
[8/9] Installing mysql80-client-8.0.17...
[8/9] Extracting mysql80-client-8.0.17: 100%
[9/9] Installing mysql80-server-8.0.17...
===> Creating groups.
Creating group 'mysql' with gid '88'.
===> Creating users
Creating user 'mysql' with uid '88'.
[9/9] Extracting mysql80-server-8.0.17: 100%
=====
Message from mysql80-client-8.0.17:
 
--
This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql80-server
=====
Message from mysql80-server-8.0.17:
 
--
There is no initial password for first time use of MySQL.
Keep in mind to reset it to a secure password.
 
MySQL80 has a default %%ETCDIR%%/my.cnf,
remember to replace it with your own
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
sysrc mysql_enable="YES"
mysql_enable:  -> YES
 
service mysql-server start
Starting mysql.
 
service mysql-server status
mysql is running as pid 2276.

;-)

8.0.20


pkg install -y mysql80-server
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 8 package(s) will be affected (of 0 checked):
 
New packages to be INSTALLED:
	cyrus-sasl: 2.1.27_1
	groff: 1.22.4_3
	mysql80-client: 8.0.20_1
	mysql80-server: 8.0.20_1
	protobuf: 3.12.2,1
	psutils: 1.17_5
	uchardet: 0.0.7
	zstd: 1.4.5
 
Number of packages to be installed: 8
 
The process will require 330 MiB more space.
28 MiB to be downloaded.
[1/8] Fetching mysql80-server-8.0.20_1.txz: 100%   17 MiB 932.1kB/s    00:19    
[2/8] Fetching groff-1.22.4_3.txz: 100%    3 MiB 362.9kB/s    00:08    
[3/8] Fetching uchardet-0.0.7.txz: 100%  108 KiB 111.1kB/s    00:01    
[4/8] Fetching psutils-1.17_5.txz: 100%   57 KiB  58.0kB/s    00:01    
[5/8] Fetching cyrus-sasl-2.1.27_1.txz: 100%  959 KiB 981.9kB/s    00:01    
[6/8] Fetching protobuf-3.12.2,1.txz: 100%    3 MiB 958.8kB/s    00:03    
[7/8] Fetching mysql80-client-8.0.20_1.txz: 100%    4 MiB 395.1kB/s    00:10    
[8/8] Fetching zstd-1.4.5.txz: 100%  720 KiB 737.6kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/8] Installing uchardet-0.0.7...
[1/8] Extracting uchardet-0.0.7: 100%
[2/8] Installing psutils-1.17_5...
[2/8] Extracting psutils-1.17_5: 100%
[3/8] Installing groff-1.22.4_3...
[3/8] Extracting groff-1.22.4_3: 100%
[4/8] Installing cyrus-sasl-2.1.27_1...
*** Updated user `cyrus'.
[4/8] Extracting cyrus-sasl-2.1.27_1: 100%
[5/8] Installing protobuf-3.12.2,1...
[5/8] Extracting protobuf-3.12.2,1: 100%
[6/8] Installing zstd-1.4.5...
[6/8] Extracting zstd-1.4.5: 100%
[7/8] Installing mysql80-client-8.0.20_1...
[7/8] Extracting mysql80-client-8.0.20_1: 100%
[8/8] Installing mysql80-server-8.0.20_1...
===> Creating groups.
Using existing group 'mysql'.
===> Creating users
Using existing user 'mysql'.
===> Creating homedir(s)
[8/8] Extracting mysql80-server-8.0.20_1: 100%
=====
Message from groff-1.22.4_3:
 
--
In order to be able to use the html driver, you need to install the following
packages:
 - ghostscript
 - netpbm
=====
Message from cyrus-sasl-2.1.27_1:
 
--
You can use sasldb2 for authentication, to add users use:
 
	saslpasswd2 -c username
 
If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README
 
NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
=====
Message from mysql80-client-8.0.20_1:
 
--
This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql80-server
=====
Message from mysql80-server-8.0.20_1:
 
--
There is no initial password for first time use of MySQL.
Keep in mind to reset it to a secure password.
 
MySQL80 has a default %%ETCDIR%%/my.cnf,
remember to replace it with your own
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.




Services Réseaux

bsd/bsfmys.txt · Dernière modification : de 127.0.0.1