Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/losuler/mysql-secure
Automate mysql_secure_installation for MariaDB.
https://github.com/losuler/mysql-secure
mariadb mysql-secure-installation
Last synced: about 2 months ago
JSON representation
Automate mysql_secure_installation for MariaDB.
- Host: GitHub
- URL: https://github.com/losuler/mysql-secure
- Owner: losuler
- Created: 2020-08-16T14:33:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T09:57:13.000Z (over 4 years ago)
- Last Synced: 2024-11-07T01:28:22.748Z (3 months ago)
- Topics: mariadb, mysql-secure-installation
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MariaDB Secure
Automatemysql_secure_installation
for MariaDB.
## About
A bash script to automate the running of `mysql_secure_installation` for MariaDB. This has been tested on the following systems:
```
openSUSE Leap 15.2 (MariaDB 10.4.13)
```Based on the script by [Vladimir Chumak](https://gist.github.com/coderua), forked from https://gist.github.com/coderua/5592d95970038944d099.
## Dependencies
```
expect
```## Usage
Setup MariaDB root password:
```bash
./mysql_secure.sh 'your_current_root_password'
```Change MariaDB root password:
```bash
./mysql_secure.sh 'your_old_root_password' 'your_new_root_password'
```