Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7402351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:43:19+00:00 2026-05-29T04:43:19+00:00

I was trying to create a very simple MySQL event and realized the action

  • 0

I was trying to create a very simple MySQL event and realized the action was not running. I then realized that the user I was using did not have super privileges (or any other event-related privileges). I tried granting all privileges to this user via phpMyAdmin but that wasn’t working (makes since because I was logged in as that user and not the root user). In fact, I’m not sure if my account has a root user. How do I find out who the root user is (username and password)?

I’m using a hosting provider that has cpanel and when I look at a list of my mysql users I only see the ones I created. Is there a way I can find out via phpMyAdmin if I’m logged in as another user?

Also, whenever I create a user in cpanel, I always select the checkbox to grant “all privileges” but I found out just now that super priviledge and a few other privileges are not on the list. As far as I can tell, I won’t be able to create any mysql events since I can’t grant super privileges to any of my users.

Addition:

When assigning a user to a database, the only privileges I can select from are

  • ALTER
  • ALTER ROUTINE
  • CREATE
  • CREATE ROUTINE
  • CREATE TEMPORARY TABLES
  • CREATE VIEW
  • DELETE
  • DROP
  • EXECUTE
  • INDEX
  • INSERT
  • LOCK TABLES
  • REFERENCES
  • SELECT
  • SHOW VIEW
  • TRIGGER
  • UPDATE

From what everyone is saying in their answers it looks like I’m using a shared database, the event schedule is either turned off and/or I am not allowed to grant users privileges dealing with events. Kind of sucks..

But for now I will use cron jobs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:43:22+00:00Added an answer on May 29, 2026 at 4:43 am

    Rule of thumb: Your application never, ever needs superuser privileges.

    Not even to use the event system.

    The only thing you need SUPER for in this instance is to enable or disable the scheduler (which is a server-wide setting). If you’re on a shared database host, it will be up to the provider whether or not the scheduler is enabled, and whether you’ve been granted the EVENT privilege on your database(s).

    If you’re not on a shared host, check your my.ini for the event-scheduler line and make sure it’s enabled. Then, make sure you’ve granted EVENT to your application userid. The EVENT privilege should be granted if you’ve used GRANT ALL PRIVILEGES on the database (as opposed to on individual tables).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a very simple chat application in Flex/.Net using FluorineFX but
I am trying to create a very simple chat window that simply has the
I'm trying to create a DOJO DataGrid populated using a dojo.data.ItemFileReadStore with very simple
I'm trying to create a very simple page that contains a container, a header,
Using pyparser, I am trying to create a very simple parser for the S-Expression
I'm trying to create a very simple PHP CLI application that can be run
I'm trying to create a very simple database abstraction, one part of it using
Im trying to make a very simple application that lets my client create their
I am trying to create a very simple page in my module using hook_menu()
I am currently using XCODE 4.0.2 and am trying to create a very simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.