Install MariaDB on Ubuntu 16.04
Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.
Step 2. Installing MariaDB.
Installing MariaDB is as simple as running just one command below:
If you want to install MariaDB 10.x Which is not included in distribution repository. We going to add MariaDB repo to our system:
Once the key is imported and the repository added you can install MariaDB with:
Once complete, you can verify MariaDB is installed by running the below command:
Step 3. Securing MariaDB after installation.
By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB:
Configure it like this:
To log into MariaDB, use the following command (note that it’s the same command you would use to log into a MySQL database):
'DA' 카테고리의 다른 글
install mariadb on ubuntu | mariadb 설치하기 on ubuntu (0) | 2017.04.27 |
---|---|
List of SQL Commands (0) | 2017.04.25 |