MySQL Error log Configuration for MySQL on Windows & MySQL on Linux - MySQL...
What is Error Logging in MySQL Server and How to Enable in Windows and LinuxMySQL Error log Configuration for MySQL on Windows & MySQL on LinuxMySQL Error logging information stored the...
View ArticleHow to Enable Binary Logging for MySQL Server on Windows and Linux Machine -...
MySQL Binary Logging in MySQL ServerThe binary log contains a record of all changes ( CREATE, ALTER, INSERT, UPDATE and DELETE) to the databases, both data and structure.It consists of a set of binary...
View ArticleHow to Enable Genera Query Logging in MySQL Windows & Linux - MySQL DBA Tutorial
What is General Query Logging in MySQL Server and How to Enable it in MySQL ServerThe General Query Log is used by the Server when the clients login and disconnect. It stores all SQL Statements run by...
View ArticleHow to Enable Slow Query Logging for MySQL Server on Windows and Linux...
What is Slow Query Logging in MySQL Server and How to Enable on Windows and Linux ServerThe Slow Query Logging is used to capture the queries which do not use indexes or they execute for long time...
View ArticleHow to use perror to get details about Error in MySQL - MySQL DBA Tutorial
How to use perror to get details about Error in MySQLperror is a utility that displays descriptions for system or MySQL error codes. To get the detail for the error codes, you will be running on...
View ArticleBackup all MySQL Database by using mysqldump in separate files in TimeStamp...
Scenario:You are working as MySQL DBA, you need to create script that should create a new TimeStamp Directory in /mysqlbackup directory and then take backup of all databases in separate...
View ArticleHow to run/Import large SQL file without opening in MySQL Workbench - MySQL...
How to run .SQL large file without opening in MySQL workbench Importing larger sql files into MySQL without loading in MySQL WorkbenchIn this demo we learn how we can import large SQL files into MySQL...
View ArticleHow to backup of specific databases from MySQL Server by using mysqldump -...
Scenario:You are working as MySQL DBA, you have a lot of databases on MySQL Server, but you need to take backup of only databases those start with "Tech", each time you run the backup script , it...
View ArticleHow to create zip backup of all the databases in MySQL Server by using...
Scenario:You are working as MySQL DBA , you need to backup all the databases on MySQL Server in zip backup file by using mysqldump. Each time you perform the backups of all databases as zip, the...
View ArticleMySQL Tutorial - How to take backup of single table from a database on MySQL...
Scenario:Often as DBAs have to run delete, update or insert statements on a table, it is always good idea to take the backup of a table before running any DML statements. Below syntax can be used to...
View ArticleMySQL Tutorial - Backup each table to separate file for MySQL Databases by...
Scenario:You are working as MySQL DBA, you need to write the script that should create a new directory each time you run the script , the directory name should be "Database_TimeStamp" and then take...
View ArticleMySQL DBA Training - How to backup all MySQL databases to single backup file...
Scenario:You are working as MySQL DBA and you need to take backup of all MySQL Databases to single backup file, how will you take backup of all databases without zip and with zip by using...
View ArticleMySQL DBA Training - How to restore database from zipped backups in MySQL...
Scenario: You or other MySQL DBAs have created zipped backups of databases by using mysqldump. You need to restore the zipped backups to MySQL Server, Which command you will use to restore zipped...
View ArticleMySQL DBA Tutorial - How to restore single table from full database backup in...
Scenario:You have used mysqldump to take the full backup of a database. The database has multiple tables. Now you need to restore only single table from full backup in MySQL Server, how would you...
View ArticleMySQL DBA Tutorial - How to Restore Database from backup in MySQL Server
Scenario:You are working as MySQL DBA and you have taken the full backup of a database by using mysqldump utility, Now you need to restore that backup to database, how would you do that?Solution:To...
View ArticleMySQL DBA Training - How to restore single database from completed MySQL...
Scenario:You are working as MySQL DBA, You are provided a complete MySQL or MariaDB database dump but you need to restore only one database out of entire database dump. What steps you will take to...
View ArticleHow to take a backup of a database by using mysqldump in MySQL Server - MySQL...
How to take a backup of a database by using mysqldump in MySQL Serverdemo explainsHow to create new directory for MySQL BackupsHow to change the ownership of MySQL backup directoryHow to create the...
View ArticleHow to create user in MySQL Server - MySQL DBA Tutorial
How to create User in MySQL ServerTo create user in MySQL , you can use mysql command line or we can use Graphical tools such as MySQL Workbench. Syntax:MySQL > Create User 'UserName'@'Server'...
View ArticleHow to Drop User in MySQL Server - MySQL DBA Tutorial
Drop User in MySQL ServerTo drop user in MySQL Server , you can use below statementMySQL > Drop User 'UserName'@'HostName';Let's say if you would like to drop user Aamir that you have created in...
View ArticleHow to Grant all permissions to user in MySQL Server - MySQL DBA Tutorial
How to Grant all permissions to user in MySQL Server If you would like to provide all permissions like root user to user account in MySQL Server, you can use below command.First of all let's create a...
View Article