Programming/MySQL

From Dev Wiki
< Programming
Revision as of 22:29, 4 July 2020 by Brodriguez (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

Ubuntu

Basic installation can be performed with:

 sudo apt install mysql-server 

From here, you can access MySQL via:

 sudo mysql 

Securing the Installation

Note that the above command alone is an insecure installation, and is not suitable for things like production, or instances where stored data is not just test data and thus should be stored securely.

To configure MySQL for security also run:

 sudo mysql_secure_installation