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 6037557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:05:30+00:00 2026-05-23T06:05:30+00:00

The datasource used by my web application connects using the ROOT user. The ROOT

  • 0

The datasource used by my web application connects using the ROOT user. The ROOT user has all privileges assigned.

My concerns are:

1) Should I be using this user (and is it ok / secure) or should I create another user with a more restricted set of rights

2) If I do use another user, how do I cater for all my procs that begin with:

CREATE DEFINER=`root`@`%` PROCEDURE `Blah`()

3) Is it a bad idea removing privileges from the ROOT user. For example, if I remove the “DROP” privilege, will I still be able to DROP objects when logging in via the Admin or Query Browser. MY guess would be no and that I shouldn’t mess with the privileges.

Any documentation / links / info regarding this would be appreciated. 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-05-23T06:05:31+00:00Added an answer on May 23, 2026 at 6:05 am
    1. You should absolutely use a restricted user to access the database as much as possible.

    2. There are privileges that allow your users to access procedures. I’m not that familiar with it but here’s the official documentation: http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html

    3. Don’t mess with root’s privileges 🙂

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

Sidebar

Related Questions

I'm programming a web application using weblogic and oracle. the datasource is configured through
I've deployed a web-module which connects to the database via a datasource configured in
I am new to Eclipse. Currently developing a sample web application using primefaces 3.1
I am used to configuring web application in context.xml , including jdbc resorces, and
I have a Crystal Report used in an ASP.NET web application that I've just
I done my MVC web application using spring security 2.0.4 and spring 2.5 and
The web application that I am developing right now has something called quiz engine
I need to setup jndi datasource in my web application deployed on the glassfish
In my web application I use jquery dialogs to open popups. The function used
I've always used Spring's dependency injection to get datasource objects and use them in

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.