farnodes / sysadmin

0 stars 0 forks source link

Database mariadb server #16

Open rsingh0706 opened 2 months ago

rsingh0706 commented 2 months ago

Overview Database (mariadb server)

Service name: Database Servers (mariadb server) Port: 3306 Usage description: Database servers are powerful machines or software systems designed to store, manage, and provide access to databases. They are crucial in handling large volumes of data, ensuring data integrity, security, and efficient retrieval. Here are some common uses and purposes of database servers: CLI:

 sudo apt update
 sudo apt install mariadb-server mariadb-client
 sudo systemctl start mariadb
 sudo systemctl enable mariadb
 sudo systemctl status mariadb                                                   
 sudo mysql_secure_installation
 1. Enter current password for root :- password root set
 2. Set root password :- r
 3. Remove anonymous users :- y
 4. Disallow root login remotely :- n
 5. Remove test database and access to it :- y
 6. Reload privilege tables now :- y
 sudo mysql -u root -p
 sudo mariadb  
 MariaDB [none]

User: Emily Garcia (Database Analyst) (read-only) Daniel Rodriguez (Database Administrator) (full access)

Path: