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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:46:55+00:00 2026-06-18T21:46:55+00:00

I have a Rails 3 Application which uses MySQL Database.In my application Testing phase

  • 0

I have a Rails 3 Application which uses MySQL Database.In my application Testing phase i am inserting lots of data for checking functionality of my application.After inserting lots of entries i am getting Mysql error like,

Mysql2::Error: User 'Databasename' has exceeded the 'max_questions' resource (current value: 10000): SELECT  `users`.* FROM `users`  WHERE `users`.`username` = 'admin' LIMIT 1

How to solve this error.Is there any Limit in Mysql ,if so how to override this.

Any help is Appreciated..

  • 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-18T21:46:56+00:00Added an answer on June 18, 2026 at 9:46 pm

    for testing purposes you can define it such as:

    SET @MAX_QUESTIONS=<your new value>; 
    

    in MySQL

    or:

    update user set max_questions = 10000 where user = 'you name or root';
    

    if you put 0 for max_questions – it means unlimited

    Note: You may have to restart you Mysql server to take effect


    of course you can just flush privileges:

    FLUSH PRIVILEGES;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a Rails application which uses MySQL. I have a table in my
I have a Rails app (Rails - 2.3.8, Linux) which uses a MySQL database,
I have a RAILS 3.x application developed locally using MySQL which has data which
I have a rails application which uses Device and Cancan for authentication. When I
I have Rails Application which uses JavaScript Extensively . I would like to know
I have this rails Application which uses salesforce App. I want to know if
I have a model in my rails application which is class Person < ActiveRecord::Base
I have a Rails 3.2.2 application which is a simple company intranet, however although
In my rails application, I have a controller called demo which is stored at
I have created a blog application using Ruby on Rails which includes the ability

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.