Displaying 20 results from an estimated 224 matches for "innodb".
2009 Jan 20
3
Re : problem with running mysql on glusterfs
...version: 5.0.51a Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Now I am getting log file it has error like this .
[root at localhost ~]# cat /var/log/mysqld.log
090120 20:52:20 mysqld ended
090120 20:52:29 mysqld started
InnoDB: Unable to lock ./ibdata1, error: 38
090120 20:52:29 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 38
InnoDB: Unable to lock ./ibdata1, error: 38
InnoDB: Unable to lock ./ibdata1, error: 38
InnoDB: Unable to lock ./ibdata1, error: 38
InnoDB: Unable to lock ....
2005 May 24
8
mysql & xen - is anyone using this combination successfully?
...005-05/msg00250.html
In the other case, the mysql daemon crashes, and on a restart detects a
checksum fault. I''ve seen this three times now, and had to recreate the
database from an SQL dump - twice with 2.0.5 and once with 2.0.6. Here''s an
excerpt from the log:
050524 8:43:15 InnoDB: Started
/usr/local/mysql/bin/mysqld: ready for connections.
Version: ''4.0.24-standard'' socket: ''/var/run/mysqld/mysqld.sock'' port: 3306
Official MySQL-standard binary
/etc/host.conf: line 24: bad command `mdns off''
InnoDB: Database page corruption on...
2008 Sep 03
23
error connecting to mysql
i was trying to setup an application checked out from svnin my local
machine. i managed to do all that is required except when it came to
the step of creating databases for the application, when i tried to
connect to mysql i got this error
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/var/lib/mysql/mysql.sock'' (2)
i have spent more than 5
2006 Feb 27
6
MySql 4.0.16 and Migrations
It appears that you cannot use migrations (out of the box) with mysql 4.0.16,
because when creating a table, the statement says "ENGINE=InnoDb", instead of
"TYPE=InnoDB".
Looking at the source code for the adapter, this appears to be hard coded. Is
there any supported way to make this work with older versions of MySQL?
David
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do they recreate that functionality?
2. if I did stick with innodb would there be a workaround for effective text sea...
2007 Jan 30
2
How to use migrations to convert engine type to InnoDB?
I''ve been looking through some references but can''t seem to find the
right syntax and commands.
I basically just want to have a migration to convert my db and all my
tables to InnoDB. Does anyone know a tutorial or the migration syntax
to do this? Thanks in advance :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rub...
2006 Jan 30
11
Database Selection
Hi,
I am a RoR newbie and I''ve been experimenting with different databases
(mySQL, PostgreSQL, etc.) and different table types (MyISAM vs. InnoDB).
Is there a preferred database/table type for RoR development. I like
how MySQL''s InnoDB tables enforce referential integrity, but these
tables require a lot more storage space then MyISAM tables.
For everyone with a lot of RoR experience, what database setup do you
prefer?
B
--...
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
...service mysqld restart
Stopping mysqld: [ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
The /var/log/mysqld.log contains:
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
InnoDB: Initializing buffer pool, size = 8.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Started; log sequence number 0 44233
[ERROR] /usr/libexec/mysqld: unknown option '--enable-named-pipe'
[ERROR] Aborting
InnoDB: Starting shutdown...
InnoDB: Shutdown completed; log seque...
2011 Feb 04
1
GlusterFS and MySQL Innodb Locking Issue
I'm having some problems getting two nodes to mount a shared gluster
volume where I have the MySQL data files stored. The databases are
Innodb. Creating the volume on the master server works fine and it
mounts, and when I mount that on the first mysql node it works fine,
too. However, when I try to mount it with the second node I get this
error:
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have anot...
2007 Jan 22
1
acts_as_taggable uses mysql innoDB tables - does innoDB flush on write on Mac OS X?
I''m using the acts_as_taggable plug-in (actually, the one on steroids -
http://www.agilewebdevelopment.com/plugins/acts_as_taggable_on_steroids).
It seems to work OK in the tests I''ve written, but when I query the DB
to see how the tags are stored, I see that the tables tags & taggable
are empty. Yet, the query from w/in the tests seem to return correct
results.
Is there a
2006 Mar 14
3
specifying table type
I''ve been creating my tables using the command line approach Dave advocates in AWD. I just noticed that they''re being created as MyISAM-type tables. I remember reading (but not where) that I should be creating these as InnoDB-type tables. So, two questions...
1) Is the table type important? (a "why" component to the answer would be nice too ;-) )
2) If so, is there a way to specify the table type using the command line approach?
Thanks in advance,
Bill
-------------- next part --------------
An HTML at...
2009 Sep 30
2
MySQL fails with tablespace on OCFS2
...r on the ocfs2 filesystem
/mnt/data/mysql
mysql fails with:
[Ubuntu] root at fs2:/etc# mysqld --safe-mode
090930 18:08:14 [Warning] Can't create test file
/mnt/data/mysql/fs2.lower-test
090930 18:08:14 [Warning] Can't create test file
/mnt/data/mysql/fs2.lower-test
090930 18:08:14 InnoDB: Operating system error number 13 in a file
operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
When I temporarily login as user mys...
2009 Nov 12
1
kernel error
...rror_exit+0x0/0x84 ...: 3 Time(s)
---------------------- Kernel End -------------------------
Any ideas? Hardware problem? How can I check hardware?
The only message I found is from mysqld:
Number of processes running now: 0
091111 12:29:05 mysqld restarted
091111 12:29:07 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
091111 12:29:08 InnoDB: Starting log scan based on checkpoint at
Inno...
2010 Nov 10
1
Oracle charging for InnoDB support in MySQL : what is going to change for us?
Hi,
I've noticed that Oracle is charging for the MySQL version that supports
InnoDB (http://www.mysql.com/products/). I could not find any other link
with direct confirmation of what is going to change for the existing
servers/versions and I was wondering if anybody has a more detailed info.
For example, is RHEL (and CentOS) going to drop support for it? Are we
going to see an...
2006 Jun 18
0
Out of Memory xenU
...ev /USR/SBIN/CRON[23726]: (root) CMD ([ -x
/etc/munin/plugins/apt ] && /etc/munin/plugins/apt update 7
Jun 18 08:45:27 lemodev mysqld_safe[23728]: Number of processes running
now: 0
Jun 18 08:45:27 lemodev mysqld_safe[23730]: restarted
Jun 18 08:45:34 lemodev mysqld[23733]: 060618 8:45:34 InnoDB: Database
was not shut down normally!
Jun 18 08:45:34 lemodev mysqld[23733]: InnoDB: Starting crash recovery.
Jun 18 08:45:34 lemodev mysqld[23733]: InnoDB: Reading tablespace
information from the .ibd files...
Jun 18 08:45:35 lemodev mysqld[23733]: InnoDB: Restoring possible
half-written data page...
2006 Jan 26
9
Problem with schema_db_import on Site5?
...b_schema_import (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db_schema_import
rake aborted!
Mysql::Error: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
''(14)) ENGINE=InnoDB'' at line 1: CREATE TABLE channelposts (`id` int(11)
DEFAULT NULL auto_increment PRIMARY KEY, `channel_id` int(11) DEFAULT 0 NOT
NULL, `post` varchar(255) DEFAULT '''' NOT NULL, `created_on` datetime(14))
ENGINE=InnoDB
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/acti...
2006 Jan 11
3
How do you do a custom sql call in rails?
...all?
If so what is the sytax on this call? self.connection.select(...)?
Should I just use the find_by_sql() method?
Any insight would be greatly appreciated.
Thanks,
Zack
--- Schema snip ---
create table accounts (
id int unsigned not null auto_increment,
...
primary key (id)
) engine=innodb;
create table customer_number_sequences (
account_id int unsigned not null,
current_number int unsigned default 0,
foreign key (account_id) references accounts(id) on update cascade on
delete cascade
) engine=innodb;
create table customers (
id int unsigned not null auto_increment,
acc...
2005 Nov 19
14
FULLTEXT search in MySQL on rails
I tried adding a FULLTEXT search index to a table of mine in MySQL,
only to discover that the InnoDB table format doesn''t seem to support
this feature. Switching to the MyISAM table type seemed to work, but
I seem to have some recollection that ActiveRecord transactions aren''t
fully atomic on MyISAM tables. Is this true or am I just remembering
wrong? If so, does anyone have a...
2009 Mar 23
0
MySQL ISAM can't start from OCFS2 filesystem
...log' not found (Errcode:
13)
090323 12:11:50 [ERROR] Could not use
/clusterfs/log/www1/mysql/mysql.log for logging (error 13). Turning
logging off for the whole duration of the MySQL server process. To turn
it on again: fix the cause, shutdown the MySQL server and restart it.
090323 12:11:50 InnoDB: Operating system error number 13 in a file
operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
I don't understand where the probl...
2006 Mar 15
10
Scaffold with Foreign Key
...drop table if exists users;
create table users (
id int not null auto_increment,
username varchar(100) not null,
password varchar(20) not null,
firstname varchar(20) not null,
lastname varchar(20) not null,
primary key (id)
) TYPE = InnoDB;
------------------------------
drop table if exists listings;
create table listings (
id int not null auto_increment,
user_id int not null,
description text not null,
constraint fk_listings_user foreign key (user_id) references users(id),...