Freebsd mysql: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Install= *pkg install -y mysql56-server =Enable= *sysrc mysql_enable=yes =Start= *service mysql-server start =Set more security= *mysql_secure_installation“)
 
 
Zeile 7: Zeile 7:
 
=Set more security=
 
=Set more security=
 
*mysql_secure_installation
 
*mysql_secure_installation
 +
=Login=
 +
*mysql -p
 +
<pre>
 +
Enter password:
 +
Welcome to the MySQL monitor.  Commands end with ; or \g.
 +
Your MySQL connection id is 15
 +
Server version: 5.6.37 Source distribution
 +
</pre>

Aktuelle Version vom 31. Oktober 2017, 21:53 Uhr

Install

  • pkg install -y mysql56-server

Enable

  • sysrc mysql_enable=yes

Start

  • service mysql-server start

Set more security

  • mysql_secure_installation

Login

  • mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.6.37 Source distribution