How to Check Log Event in Database

When a website is built, the process of tracking the frequency of customers visiting the website and navigating the highly advertised or exposed areas is basically called event tracking or logging.

Example: Let’s take an example of the website As it’s a quite familiar website to everyone, so I believe there must be millions of people holding accounts on Gmail and would have frequently visited the website. If millions of people are visiting a website, then there is an analysis (Optimizely) done by a business development team to see which are the most effective areas, including buttons and links that are attracting users to click or visit that area of application.

Optimizely: Split Testing Simplified

Optimizely is basically a method for analyzing the response from the end user by changing the location of buttons, sections or text. On the basis of the response from the end user, the position of the corresponding text and buttons should be fixed at the place where the site observed the best response from the end users.

Following are the elements on which above analysis happens.

Some split testing best practices include:

Why do we track logging?

We do track logs to identify that how much the area of application is affected, which in turn helps in making the business more effective and attractive.

So, we are going to check the tracking with the help of ‘MySQL Workbench’ DB connection tool.

Download MySQL Workbench from:

How to Check Log Event in Database1

Prerequisites: User should have basic knowledge of SQL.

Creating A New MySQL Connection

1. To create a new DB connection, click on the + icon displayed on the home screen of the tool. This opens the ‘Set New Connection’ window, as shown below.

How to Check Log Event in Database

2. The following details will be required from the concerned developer or DB manager.

Note: The above-mentioned details are dummy data.

3. Now enter the provided details in the respective fields in the opened window and then click on ‘Test Connection’. This would pop-up the ‘MySQL Workbench’ dialog box. Click ‘OK’.

How to Check Log Event in Database4. Click ‘OK’ on the ‘Setup New Connection’ window. This would display a new DB connection on your home screen, as shown below.

How to Check Log Event in Database5. Now click on the newly created connection. This would display a pop-up, in which you have to insert the provided password.

How to Check Log Event in Database

6. After entering the password, you would be able to see the schemas, as shown below.

How to Check Log Event in Database

7. Now you can access the tables, rows, and columns on which you have been provided access by the DB team.

How to Check Log Event in Database

8. Now you can fetch the data from the tables in the schema, as shown below.

How to Check Log Event in Database

9. Now you can use the icon in front of the tables to see all the data in that table. However, in order to fetch a specific data, you need to write SQL queries.

How to Check Log Event in Database

       Example: SELECT * FROM abc_log.abc_events, where eventname = ‘Select_Property_Impression’; then execute.

10. Similarly, for the verification of logging activities, you need the Event names and ids. The figure given below, shows the event names and event ids fetched from the database with the help of queries.

How to Check Log Event in Database

11. Now execute the table, which is tracking the logging data.

       Execute: SELECT * FROM abc_log.abc_logging;

How to Check Log Event in Database

12. To get more specific results, you can write your own query, as given below.

       Example: SELECT * FROM abc_log.abc_logging, where eventid = ‘9’; this query will fetch all the results having   event id = ‘9’.

How to Check Log Event in Database


Get A Free Quote

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.