Change Is Inevitable
  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)
Recent Posts
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation
Recent Comments
  • Kedar on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Jean-François Gagné on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Reggie on A Unique Foreign Key issue in MySQL 8.4
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
Home » Kedar » Page 16
Change Is Inevitable

Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects

  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)

Kedar

204 posts

MySQL function returns dates of specified day & between date range

  • Kedar
  • September 13, 2012
This mysql stored function will return you all the dates between given dates having specified day. In short if you say: give me all Sundays in this month. I have…
View Post
mysql-random-data-generator
  • MySQL
  • MySQL-Scripts
  • 19 comments

How To Generate Random test Data In MySQL

  • Kedar
  • July 5, 2012
Are you tired of manually generating test data for your MySQL tables? If you’re looking for random data generator, look no further! Introducing the MySQL Random Data Generator, a powerful…
View Post
man in black-3
  • Review - Movie, software...
  • 4 comments

Men in Black-3 (MiB-3) – Xtreme Movie Review

  • Kedar
  • May 26, 2012
“I just learned that Agent K has been assassinated by Boris from future, an alien criminal in 1969. I must travel through a time and stop him and save young…
View Post

Load columnar text file into MySQL table

  • Kedar
  • May 3, 2012
Ever come accoss a situation where you have to load a flat text file into MySQL with data provided in single column! Say, your data to be loaded in table…
View Post

MySQL – Alter table-change datatype of column with foreign key

  • Kedar
  • April 23, 2012
Schema alteration is a big headache especially when it has already reached to production and things get worse when the relations are involved.Below is a short example for altering tables…
View Post

Access Control in MySQL Stored Routines: DEFINER, INVOKER & SQL SECURITY

  • Kedar
  • January 30, 2012
MySQL Stored Routines (functions and procedures) are not only used for improving performance but also they’re handy when it comes to enhancing security and restricting user access. This post briefs…
View Post

Posts pagination

Previous 1 … 15 16 17 … 34 Next
MySQL Podcast (Youtube)
RSS feed: MySQL Podcast (Spotify) MySQL Podcast (Spotify)
  • MySQL Major Version Upgrade Checklist (Zero Downtime Strategy)
    Upgrading MySQL major versions in production is never just a version bump - it’s a carefully planned process involving compatibility checks, replication strategy, testing, and controlled cut-over.In this episode, we walk through a practical MySQL Major Version Upgrade Checklist based on real-world DBA workflows. We are covering MySQL replication as base setup for upgrade. It […]
Search:
... ...
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation

6 responses to “Access Control in MySQL Stored Routines: DEFINER, INVOKER & SQL SECURITY”

  1. Aldwin Avatar
    Aldwin
    November 28, 2018

    Thanks Keddar. A seemingly confusing concept made clear because of your article. Google brought me here and it seems it made the right recommendation

    Reply
  2. Pranav Avatar
    Pranav
    September 11, 2017

    Really great article. I was not aware regarding this security breach earlier. Thanks a lot for sharing this.

    Reply
  3. Ricardo Martínez Avatar
    Ricardo Martínez
    March 5, 2015

    Wow, I had problems trying to understand these two clauses, but now that I’ve read your article, everything looks very clear. Thanks a lot!

    Reply
    1. Kedar Avatar
      Kedar
      March 5, 2015

      Glad it helped 🙂

      Reply
  4. Daniël van Eeden Avatar
    Daniël van Eeden
    January 30, 2012

    Nice post.

    You don’t need to do a FLUSH PRIVILEGES after a GRANT, and you also made a typo on that line.

    Reply
    1. Kedar Avatar
      Kedar
      June 25, 2014

      Thanks pointing to the FLUSH PRIVILEGES, Daniel.

      Pasting from DOC for ref.:
      “If you modify the grant tables indirectly using account-management statements such as GRANT, REVOKE, or SET PASSWORD, the server notices these changes and loads the grant tables into memory again immediately.”

      Reply
Change Is Inevitable
Designed & Developed by Code Supply Co.