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

  • Home
  • SEARCH
  • 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 8145659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:44:22+00:00 2026-06-06T13:44:22+00:00

I have an independent contractor / freelancer helping with with some optimisation on a

  • 0

I have an independent contractor / freelancer helping with with some optimisation on a specific database.

I have created a new user and given them all permissions for that database.

However, they have asked for the following commands to be run and I just need to make sure I am not creating any security vulnerabilities by doing so:

grant super,reload on *.* to 'odeskuser_priv'@'%' identified by 'abc123'; 
grant all on mysql.* to 'odeskuser_priv'@'%' identified by 'abc123';

If the user “odeskuser” only has access to one database, would those commands be safe and not open any potential threats for the other dbs?

Thanks

  • 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-06-06T13:44:25+00:00Added an answer on June 6, 2026 at 1:44 pm

    By looking here:

    http://dev.mysql.com/doc/refman/5.0/en/privileges-provided.html

    Super grants server administration priviliges so I would say that:

    grant super,reload on *.* to 'odeskuser_priv'@'%' identified by 'abc123'; 
    

    Would allow that user to open threads to any DB on the server due to the *.* which denotes any DB and any table on the server.

    Edit:

    In fact super is very dangerous to give globally:

    The SUPER privilege enables an account to use CHANGE MASTER TO, KILL
    or mysqladmin kill to kill threads belonging to other accounts (you
    can always kill your own threads), PURGE BINARY LOGS, configuration
    changes using SET GLOBAL to modify global system variables, the
    mysqladmin debug command, enabling or disabling logging, performing
    updates even if the read_only system variable is enabled, starting and
    stopping replication on slave servers, specification of any account in
    the DEFINER attribute of stored programs and views, and enables you to
    connect (once) even if the connection limit controlled by the
    max_connections system variable is reached.

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

Sidebar

Related Questions

I have a project that uses two independent Android libraries. Each of them contains
I have a DotNetNuke database and an independent C# webservice. I receive two strings
I am an independent software contractor. Companies hire me to write very specific pieces
We have some independent servers, connected behind a hardware balancer. Each one of the
I have dependent and independent classes, I need to create database connections in these
I have 2 independent but contiguous date ranges. The first range is the start
We have several independent builds (each independent build is a multi-project build). The main
I'm going to have two independent programs (using SqlAlchemy / ORM / Declarative) that
I'm building a single-page application. At the moment, I also have several independent pages
I have an update program that is completely independent of my main application. I

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.