Raj,

Normally, if you have problem with your configurations, I suggest recreate
your databases :

1) backup all your database using mysqldump

*$ mysqldump --opt --user=root --password=xxxx --databases db1 db2 db3
db4  > /your/directory/of backups/backup.databases.dmp*
**
**
2) delete your databases

3) modify your configurations using 3 or 4
ibdata1:1900;ibdata2:1900;ibdata3:1900 ( my.cnf).

$service mysql stop
$service mysql start

4) load your initial backup into mysql
Option 1:
mysql > set foreign_key_checks=0
mysql > set autocommit=0
mysql > source backup.mysql.dmp ( your possition must be of the file of
backup)

option 2 :


*$ mysql --user=root --password=xxxx < backup.mysql.dmp*


Comments : You can use innodb_file_per_table , but if you say that your
files can grow only 2G could be dangerous.

On 12/20/06, Raj Shekhar <[EMAIL PROTECTED] > wrote:

[EMAIL PROTECTED] wrote:

> In my configuration file there was a line that said:
> innodb_data_file_path = ibdata1:10M:autoextend:max:1900M
>
> This refers to the data file that contains all of my databases.  The
> number
> 1900M is close to the 2G filesize limit on my linux server.  With all of

> the chatter about other causes of Error 1114, I'd missed that this file
> had grown to it's limit.


A small suggestion that you may find useful.  You could have used
'optimize
table' to free up some space.  To make it easier to run optimize table,
you
can put in the 'innodb_file_per_table' into your my.cnf. This will create
each table in its own file/tablespace, thus making it easier for optimize
to run faster.  However, this option only affects new tables.  Old tables
would still live in the shared ibdata file.

--
raj shekhar
facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog
I dare do all that may become a man; Who dares do more is none.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:     http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to