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 » MySQL » Page 13
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)

Browsing Category

MySQL

128 posts

Articles related to MySQL, Percona Server, MariaDB

Install Percona Monitoring Tools for Nagios – MySQL Plugins

  • Kedar
  • June 30, 2015
Recently a friend asked about Installing Percona Monitoring Tools for Nagios as he was facing a few issues. I managed to set-it-up on my ubuntu VM. Sharing the the work-log…
View Post

UMASK & UMASK_DIR – changing default MySQL file dir permissions

  • Kedar
  • June 24, 2015
UMASK and UMASK_DIR are amongst few MySQL Environment variables which defines directory and file creation modes (file permissions). In this post we will understand using UMASK & UMASK_DIR for changing the database directory and file permissions from it’s default to what we need.
View Post

Setup and configure MySQL backup using Holland and Xtrabackup

  • Kedar
  • June 2, 2015
Setting up a database backup is a primary task for database administrators and we see perl and shell scripts wrapped around few of the backup-tools in practice. With right tools…
View Post

Cannot connect to MySQL server on ‘localhost’: Cacti Error

  • Kedar
  • May 20, 2015
FATAL: Cannot connect to MySQL server on ‘localhost’: Cacti Error – Solution to the issue while setting-up.
View Post

How-to extract from mysqldump | mysql-dump-splitter recipes

  • Kedar
  • April 28, 2015
This post will answer how to extract database, tables etc from mysqldumpsplitter utility.
View Post

How to fix definer does not exist error 1449 MySQL

  • Kedar
  • March 23, 2015
Explaining and providing solutions of MySQL error 1449: The user specified as a definer does not exist using SQL SECURITY INVOKER and DEFINER.
View Post

Posts pagination

Previous 1 … 12 13 14 … 22 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

5 responses to “How to fix definer does not exist error 1449 MySQL”

  1. bukadepo Avatar
    bukadepo
    September 23, 2020

    Great post.

    Reply
  2. trangtriquangcao Avatar
    trangtriquangcao
    June 3, 2020

    I am have just installed mariadb 10.4 and I want to list users with root priviledge. But when I run `SELECT User FROM mysql.user;`, I get this message.

    MariaDB [(none)]> SELECT User FROM mysql.user;
    ERROR 1449 (HY000): The user specified as a definer (‘mariadb.sys’@’localhost’) does not exist

    Anyone can help me?

    Reply
    1. Kedar Avatar
      Kedar
      September 1, 2020

      Hi,

      Seems the “definer” user isn’t there on the database which is required for the mysql.user view to execute.
      Ref: https://jira.mariadb.org/browse/MDEV-22909

      Reply
  3. Asier Avatar
    Asier
    November 18, 2018

    The solution to the error is very simple, we just have to make an upgrade to our database.
    mysql_upgrade -u root -p

    With this command, a large part of the problems will be solved.

    Reply
  4. VideoPortal Avatar
    VideoPortal
    March 20, 2017

    This user must exist and is always better to use ‘localhost’ as hostname. So I think that if you check that the user exists and change it to ‘localhost’ on create view you won’t have this error.

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