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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:28:21+00:00 2026-06-10T06:28:21+00:00

I was running a rake db:migrate for my rails which failed with the following

  • 0

I was running a rake db:migrate for my rails which failed with the following error:

==  AddColumnsToSavedSearch: migrating ========================================
-- add_column(:saved_searches, :search_param1, :string, {:limit=>1000})
   -> 0.0574s
-- add_column(:saved_searches, :search_param2, :string, {:limit=>1000})
rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs: ALTER TABLE `saved_searches` ADD `search_param2` varchar(1000)

This migration runs fine on my other system which has the same configuration (same OS and DB).

My MySQL DB version is Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu).

Any help is appreciated.

Please do let me know if you need any information.

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-10T06:28:23+00:00Added an answer on June 10, 2026 at 6:28 am

    This may not be the issue, but generally the string datatype is used for smaller quantities of text. I believe it uses the VARCHAR(255) type for MySQL. Try changing the datatype to text. There may be some conflict in attempting to limit the columns to a size larger than string can support.

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

Sidebar

Related Questions

I encountered the following error while running rake db:migrate --trace . my rails version
while running rake db:migrate i get the following error : rake db:migrate (in /Users/hrastogi/ruby_project/contactlist)
Upon running rake db:migrate, I'm getting an database configuration does not specify adapter error.
When running the rake db:structure:dump command, I encountered the following error: Larson-2:app larson$ rake
I'm upgrading to Rails 3.2, and running rake db:migrate gives me several errors of
I encounter error undefined method `new' for Paperclip:Module while running rake db:migrate to update
I get the following error: [app (master)]$ heroku rake db:migrate rake aborted! undefined method
I am getting this error when I am running rake db:migrate Missing these required
while running: rake snorby:setup getting below error: rake aborted! You have already activated rake
The following output appears after running some rake tasks: Loaded suite /usr/bin/rake Started Finished

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.