Re: MySQL with InnoDB on a readonly filesystem.

2005-11-25 Thread Heikki Tuuri

Hi!

InnoDB does not work on a read-only file system. It needs to write to data 
files and ib_logfiles. For example, the transaction id advances also with 
SELECT queries, and we need to write it to the files.


Best regards,

Heikki

Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM 
tables

http://www.innodb.com/order.php

- Original Message - 
From: "superfly" <[EMAIL PROTECTED]>

Newsgroups: mailing.database.myodbc
Sent: Wednesday, November 23, 2005 7:32 PM
Subject: Re: MySQL with InnoDB on a readonly filesystem.



Ralph,

Not sure why your trying to open a innodb file on a read-only
filesystem.

Personally I'd place the innod onto a read-write file syste, and grant
the users connect and select priveleges only.




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



Re: MySQL with InnoDB on a readonly filesystem.

2005-11-24 Thread Ralph Koning




Jeremy Cole wrote:

Is it possible to run MySQL with InnoDB enabled on a readonly 
filesystem. We only intend to run some select query's on this server.



I guess I can ask the obvious question.  Why are you trying to use
InnoDB, if your data/filesystem is read only?  Why not use MyISAM 
instead?


We allready have a large InnoDB database. And every hour we flush all 
data from the mysql slave to disk, set a lock on the tables, make a 
snapshot (takes about 1 second) of the data and unlock the tables again.
So we have a read-only snapshot on which we can work, and request data 
from.
We just want to start a standalone mysql server with the data on the 
snapshot to make some mysqldumps for archiving.


Regards,
Ralph

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



Re: MySQL with InnoDB on a readonly filesystem.

2005-11-23 Thread Jeremy Cole

Hi Ralph,

Is it possible to run MySQL with InnoDB enabled on a readonly 
filesystem. We only intend to run some select query's on this server.


I guess I can ask the obvious question.  Why are you trying to use
InnoDB, if your data/filesystem is read only?  Why not use MyISAM instead?

Regards,

Jeremy

--
Jeremy Cole
MySQL Geek, Yahoo! Inc.
Desk: 408 349 5104

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