Freebsd postgresql: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
*sysrc postgresql_enable="YES"
*sysrc postgresql_enable="YES"


=Start=
=Initdb=
*service mysql-server start
*service postgresql initdb
 
=Set more security=
=Set more security=
*mysql_secure_installation
*mysql_secure_installation

Version vom 1. November 2017, 00:21 Uhr

Install

  • pkg install -y postgresql96-server

Enable

  • sysrc postgresql_enable="YES"

Initdb

  • service postgresql initdb

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


Links