Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

add MAX_ROWS

Posted on 2003-12-01
4
Medium Priority
?
424 Views
Last Modified: 2006-11-17
I have a mySQL database with various tables. For some of them I haven't defined the MAX_ROWS variable and so when many records are inserted it stops accepting more data. I want to alter these tables without deleting them and making them again, because there is data in them which I don't want to lose. How can I add the MAX_ROWS line without destrying everything I have so far?
I use phpMyAdmin 2.2.6

Please help this is urgent...
0
Comment
Question by:jonn_g
4 Comments
 
LVL 10

Accepted Solution

by:
ADSaunders earned 600 total points
ID: 9849417
Hi jonn_g,
You can do it with an 'ALTER TABLE' statement. Don't know how this can be handled in PHPMyAdmin though. The MySQL manual details it. http://www.mysql.com/doc/en/ALTER_TABLE.html

Regards .. Alan
0
 
LVL 17

Expert Comment

by:Squeebee
ID: 9850007
How many rows does the table have so far?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question