MYSQL/MARIA DB SCRIPTS
The below scripts will work for both mysql and maridb .
Please write in comment section if any of the links are not working
DATABASE MANAGEMENT
			Create database in mysql
		
			View database list in mysql
		
			How to connect to mysql db
		
			Drop a database in mysql
		
			Find database sizes in mysql
		
			How to find timezone info
		
			How to find MySQL version
		
			Find current sessions in MySQL
		
			How to kill a session in mysql
		
			How to kill all sessions of an user
		
			How to find startup time and uptime MySQL
		
			How to find data directory location
		
			Find current timestamp info mysql
		
			Find MySQL configuration values
		
			Find mysql db service restart time
		
			List down storage engines
		

USER MANAGEMENT
			List users present in mysql
		
			Create/drop user in mysql
		
			Alter an user in mysql
		
			How to convert a user to superuser
		
			Grant privileges to user in mysql
		
			REVOKE privilege commands
		


BACKUP/RECOVERY
			Backup a mysql database
		
			Restore a mysql database from backup
		
			Backup multiple mysql databases
		
			Backup a specific table
		
			Restore all databases
		
			Backup databases in compress format
		

DB MANAGEMENT


TABLESPACE MANAGEMENT

OBJECT MANAGEMENT


AUDITING & SECURITY

NETWORK


REPLICATION

OTHERS

- 
- This page will be updated regularly with new scripts.Please provide suggestions to improve this page.
 
Keep visiting us.
