Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Enabling INNODB In Mysql 4.1


in mysql 4.1 that came with xampp package, i saw that innodb table type is disabled..how may i enable it?




View Complete Forum Thread with Replies

Related Forum Messages:
Enabling InnoDB
Actually am using mysql 5.0 version, default it using MyISAM engine, but i wnat ot use InnoDB engine. I tried to change the my.cnf file with entry "default_server_engnie=InnoDB".but there is no use.

View Replies !
Enabling InnoDB Error
I've successfully enabled InnoDB for my database but I'm getting the following error when I try and set on delete cascade for a foreign key.

Error

SQL query:

ALTER TABLE `editors` ADD CONSTRAINT `participants_editors` FOREIGN KEY ( `account_id` ) REFERENCES `participants` ( `id` ) ON DELETE CASCADE

MySQL said: Documentation
#1005 - Can't create table './isimodev_co_uk_main/#sql-7d1_4c69.frm' (errno: 150)

View Replies !
Enabling SSL Using MySQL Rpm
How do I enable MySQL to accept ssl connections using the rpm version of MySQL
4.1.10. I am using RHEL 3.0. Can some one point in the right direction?

View Replies !
Enabling Binary Log In Mysql 5.0.45
I wrote log_bin=[filename] in my.inf and restarted ,eventhough if checked at commandprompt through show variables statement, its showing log_bin =off.I tried through mysql adminstrator stratup variables also. But no change at all.can anyone tell me how to enable binary logs and further process for replication.Awaiting for your valuble replies.

View Replies !
Web-enabling The Database
After information has been added to the mysql database, how do you go about web-enabling the information to be searched by your visitors?

View Replies !
Enabling Federated Tables.
I am using mysql 5.0.27-community-nt on windows xp. Federated engine is inactive. How can I activate the federated engine?

View Replies !
Enabling SSL & Setting Up A Certificate
I have MySQL 5.0.27 on XP Pro. I have not been able to find the correct syntax for starting MySQL so that SSL is enabled.I've searched the forums and the Manual.

ALso, can anyone point me to a location which provides clear guidance on setting up an SSL certificate? %.9.7.4 of the Reference Manual wasn't too helpful for me.

View Replies !
Enabling -- Log - Slow - Queries
I want to enable --log-slow-queries of MySQL.

How do I do it without restarting the DB server?

View Replies !
Enabling Multiple Statements
I'm trying to execute the following multiple statements using MySql w/ the ODBC connector.

INSERT INTO Sites(Hostname) values('zzz');
INSERT INTO Hosts(SiteID, Hostname) values(last_insert_id(), 'zzz');

I get the following error:

[1064] [1] [0] "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 ';
INSERT INTO SiteHosts(SiteID, Hostname)
VALUES(@@IDENTITY, 'zzz')' at line 2"

Is there something I have to do to enable multiple statements?

View Replies !
Enabling Remote Connections
Can someone tell me how to set up the mysql server to accept remote connections?

Im using mysql 4.1 on Linux Ubuntu 5.10

I have tried editing my.cnf and changing the bind-address from 127.0.0.1 to the server's IP address, but this just results in the server failing to restart with the following error:

Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!


What do I have to do to get it to accept local and remote connections? Code:

View Replies !
Foreign Keys Without Using InnoDB? (Server Disabled InnoDB - Any Way To Link Tables?)
I guess this is a two-part question:

1) Is there any way to use foreign keys (and enforce them) without storing them in InnoDB? My hosted server vendor has disabled InnoDB access across the board because it requires remote access (not quite sure I understand the why) and they only want people to edit through their online GUI....

2) If there's absolutely no way to link tables without using InnoDB, would anyone recommend a good hosting service that allows it? Tech support for readyhosting said there's no way any shared server service is going to allow this, but since it's a HUGE part of the functionality of relational databases,

View Replies !
Innodb Corruption, Must Use Skip Innodb
----log file---

Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: The log sequence number in ibdata files does not match
Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: the log sequence number in the ib_logfiles!
Feb 7 09:48:27 ubuntu-server mysqld[9941]: 090207 9:48:27 InnoDB: Database was not shut down normally!

Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: Starting crash recovery.
Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: Reading tablespace information from the .ibd files...
Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: Restoring possible half-written data pages from the doublewrite
Feb 7 09:48:27 ubuntu-server mysqld[9941]: InnoDB: buffer...
Feb 7 09:48:28 ubuntu-server mysqld[9941]: InnoDB: Page directory corruption: supremum not pointed to
Feb 7 09:48:28 ubuntu-server mysqld[9941]: 090207 9:48:28 InnoDB: Page dump in ascii and hex (16384 bytes):
Feb 7 09:48:28 ubuntu-server mysqld[9941]: len 16384; hex

View Replies !
Mysql InnoDB PHP
i have a strange problem :
MySQL 4.0.21 innodb and php 4.3.9-1
all tables are in innodb type.

For a simple select statement, sometimes i get result and sometimes
nothing (i.e mysql_num_rows()>0 or mysql_num_rows()==0). It's a random
behaviour.
If my table is MyISAM type no problem.

View Replies !
Mysql InnoDB PHP
i have a strange problem :
MySQL 4.0.21 innodb and php 4.3.9-1
all tables are in innodb type.

For a simple select statement sometimes i get result and sometimes
nothing (i.e mysql_num_rows()>0 or mysql_num_rows()==0). It's a random
behaviour.
If my table is MyISAM type no problem.

View Replies !
Innodb Doc In Mysql.com
In mysql.com site on section 7.5.4.1 it says and I qoute

"If something goes wrong in an InnoDB database creation, you should delete all files created by InnoDB. This means all datafiles, all log files, the small archived log file, and in the case you already did create some InnoDB tables, delete also the corresponding `.frm' files for these tables from the MySQL database directories. Then you can try the InnoDB database creation again. "
If I do this, will it break my database ?

View Replies !
Asking MySQL If InnoDB Is Available
Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

View Replies !
MySQL 3.23 And InnoDB
I believe these are pretty basic questions, but allow me to ask:
q1. MySQL 3.23 supports InnoDB. Is this correct?
q1.2. If so, how well does MySQL 3.23 support InnoDB?
q2. Does not-handling InnoDB tables properly in MySQL 3.23 create some problem?
q2.2. If so, can the problem become as severe as it locks up the database?

View Replies !
Database Restore / MySQL 4.1 -- InnoDB
I have got a MySQL 4.1 that we use wit vBulletin.... We had a crash
last week and I've been able to restore the data up to September 2005
as it stands.

Now, I'm under the impression I could rebuild the data from the logs
but I cannot seem to figure out how to do that based on the tools and
instructions posted.

I've got my ib_log files (ib_log0 and ib_log1) also my ibdata file,
which is full of all the data i'm trying to get restored. Opening it up
in hex editor, I can see posts and information right up to the moment
the database crashed.

What steps should I take to restore the data from the log/data files?

I've tried several different steps, but I'm goofing it up somewhere I
guess. Are there some other tools available to help with this?

This site was a 'non-revenue' site, so I didn't exactly make all of the
redundancy arrangements that I would normally do for an Oracle/MSSQL or
any other live business database. I'm ateast going to enable mirroring
this time around and move the backups to another location.

View Replies !
Mysql: Check Innodb Autoextend
Is there any possibility to check existing of autoextend option
for InnoDB ?

I mean by any sql command and not by searching in my.ini file ?

View Replies !
MySQL Always Declare InnoDB As Engine?
i create a Database table the MySQL automatically declare it as InnoDB engine... Why is this? Is there a way to choose the type of engine before the MySQL create it?

View Replies !
Do MySQL 4.0.25 Deafult Installed Is Using InnoDB
I want to build up a e-commerce web site host by myself's Windows 2003 Server with IIS 6.0 + PHP 4.4.0 + MySQL 4.0.25 (www.oscommerce.com <--- it need a MySQL)

But some reason, oscommerce failed fuction on MySQL 4.1.14 properly with the Order query fuction, and ... I am very newbie on MySQL, I like the MySQL Administrator Tool 1.1.2, but I installed a MySQL 4.0.25 in my home's PC, and run the MySQL Administrator Tool, discover many thing can't using ..., this tool is look like better for MySQL 4.1.x, and I know MySQL 4.1.x is using InnoDB databse

But now I need oscommerce work well, so decided choose MySQL 4.0.25, but have some thing I don't understand and know well.

1. Do MySQL 4.0.25 default using the InnoDB to save the Database and Table or it default using the MyIsam to save the table?? If not, what is it using?

2. Do MySQL 4.0.25 default setting is support multilanguage like utf-8, big5 chinese (Taiwan), gb2312 chinese (China Mainland), english etc, since my oscommerce main target is for Chinese (Taiwan, Mainland), and english user....

3. How to full backup MySQL 4.0.25 database + table easy and safe for newbie (better have the step by step or GUI Tools can using)

4. Since I had try MySQL 4.1.14 before, so I know it can allow remote connect to the database by using MySQL Administrator Tool from localhost, how to setting MySQL
4.0.25 also can remote connect by some GUI tools, with localhost?

View Replies !
Getting The Backup Of Innodb Database From Mysql
is anyone know to get the backup of innodb databace from mysql databaceserver.

View Replies !
MySQL 4.0.18 InnoDB Configuration Issues On SuSE 9.1 Pro
I've tried resolving this issue in a SuSE newsgroup, but after trying
their suggestions and working on this issue for far too long already, I
decided to try this list as it may be a more appropriate discussion area.

I've installed and configured MySQL 4.0.18 on a SuSE 9.1 system using
the default RPM's that came with the distribution.

I created a simple database (one table with InnoDB engine type) and have
tried running some ODBC source against it to test transactions, but I
get the error that the server does not have transactions enabled.
I was directed to enable transactions in the configuration file
(/etc/my.cnf) by uncommenting the lines for innoDb use. However, after
uncommenting these lines and running mysqld from the commandline
(according the online Manual), to generate InnoDB support tables, I get
the following error:

mysqld: ERROR: unknown variable 'innodb_data_home_dir=/var/lib/mysql/'

I've tried removing the RPM's and starting from scratch, but cannot get
past this error and successfully test transactions in my unit tests.

View Replies !
Unable To Create Innodb Tables In Mysql
i am unable to create tables in mysql under InnoDB engine, whatever i do, it simply creates table under default MyISAM engine, why is it so ??

I tried making the table thru commandline, using the following command, which is exact copy from mysql official website

MySQL Code:
CREATE TABLE customers (a INT, b CHAR (20), INDEX (a)) ENGINE=INNODB;

then, tried creating thru mysql query browser, but no luck ..

i am unable to run transactions using php due to this reason,

View Replies !
Corrupt InnoDB Table Not Letting Mysql Start!
Somebody tripped over my server's power cable and hard shut it down. Unfortunately, it must have been in the middle of a write operation or something, but MySQL no longer starts up. I really need to recover mysql and make it be operational again.

I've tried setting innodb_force_recovery = 1, but that hasn't made any difference.

Code: .....

View Replies !
MySQL Enterprise Server With InnoDB For Mission-critical Data?
However recently the company I work for has the requirement to upgrade their database system. The data here really is mission-critical and we can't afford to loose any of it, and we need 24-7 uptime, with good performance (we have lots of clients so there'll be heavy load), any downtime will cost us.

What I'd like to hear is peoples own experiences with MySQL Enterprise, good or bad, and if it's up to the job.

Looking around the net I've seen lots of supposed expert DBAs saying that there's no argument; you should go with one of the "big 3", these being DB2, Oracle or MSSQL. However I get the feeling Oracle and DB2 would be a massive task to configure, and MSSQL - well it runs on Windows, we can't have any downtime no matter how good people say it is these days.

So my idea was; InnoDB on 3 servers - a master and 2 replication slaves, with one slave off-site down a 10Mb line (wide enough pipe?). We use the on-site slave to run our daily backups, and point our reporting web sites at it too. the off site is for worst-case scenario disaster recovery.

How much would we be better off spending more £ on one of the "big 3"? Would our data be safer on these? Would we get better performance with these? Is there a better model I could use for the MySQL setup?

View Replies !
3.23.x To 4.0.x INNODB
Can I take multiple 2GB files in /var/lib/innodb and the corresponding
files in /var/lib/iblogs created with 3.32.55 (INNODB) and upgrade to
4.0.13 and let it use those existing files without a problem? Without
dumping and re-importing? I'd only need to additionally run the
mysql_privs_fix(?) script as part of a normal 3.23->4.0 upgrade?

I did this as a test and it appeared to work but only on a test
machine.. Want to make 100% certain before trying it on a production
box.

View Replies !
64-Bit And INNODB
With an Opteron (or Itanium for that matter) using let's say the RedHat 9 or
AS 3 betas available for those CPUs, how will MySQL/INNODB function?
Specifically does the ability to allocate a bigger chunk of memory than 2GB
just work "out of the box"? Can I set innodb_buffer_pool_size to 12GB for
instance if I have 16GB in a box?

Now then, along the same lines and not really MySQL oriented but someone
here will likely know. I see lots of Opteron boards with 2 CPUs being
advertised that have 4 DIMM slots "per CPU". Is it one large flat memory
space or do they do SMP in some strange fashion where each CPU has access to
it's own memory? Therefore not giving a flat 16GB memory space if 8 slots
were populated with 2GB DIMMs? I hope not but the way they're being
described it is somewhat confusing.

Even more off-topic, anyone know of a good 1U or 2U Opteron or Itanium
system with >8 DIMM slots? 64-bit is great but unless you can stuff a _lot_
of memory in it, a lot of the advantage is lost. I wish someone like
SuperMicro would offer a high end Opteron SuperServer. I love their dual
Xeon systems..

View Replies !
Specifying INNODB
Is it a bug or a feature that with the conditions

1. INNODB is not configured in my.cnf
2. Table type is specified as INNODB

that when you create the table there is no warning,
and no syntax error, and the table type silently
and Microsoft-like, defaults to MyISAM?

Now, if you specify table type as TYPE=bullshit,
you get a nice (and expected) syntax error.

View Replies !
No InnoDB
OS Fedora Core 3
I have been trying to set InnoDB engine on mysql 4.0 and 5.0 as default with no joy so far.
I have edited my.cnf file and put it in the datadir /usr/lib/.
Everytime I create a table the engine is MyIsam.

View Replies !
Where Is InnoDB?
I'm only beginning with MySQL. Installed it and have been able to access it using SQuiRrel but I don't see any DB named Inno.

I verified from the server config that InnoDB is enabled, but is it a separate install? If so, what is the download link?

My understanding is that MySQL stores its performance data in InnoDB. I need to write SQL queries to fetch these data.

View Replies !
Help On Innodb
I have read few articles on innodb and quite confuse about those stuff. So said that you need to do some start up setting on innod buffer pool and etc. Where can I like get this list of things which need to be done on innodb. I need some optimization tips for innodb.

View Replies !
Innodb Vs MyISAM?
Besides transaction capability, is there anything else about innodb
tables that makes it superior to myISAM?

I really don’t need transactions, but for example, I need superior
reliability for index (too many index corruptions in the past). Is
innodb better in that area, or any other areas?

View Replies !
Innodb Performance (CPU, RAM)?
I have a table with approx. 150,000,000 ++ rows. It should be approx 80 byte for each row. Now I'm planning to use it with mysql/innodb.

Can you guys suggest anything about this.

I have many questions... Can Innodb work well with such tables?

Will queries (select/update) be slow?

What hardware do you suggest, cpu/ram?

View Replies !
InnoDB + AUTO_INCREMENT
Reading the MySQL manual regarding InnoDB databases, can someone confirm
that:
1. if the server is rebooted, AUTO_INCREMENT reverts back to 1?
2. what happens if the field is specified as or PRIMARY KEY or UNIQUE?

View Replies !
MyISAM Or InnoDB
I've read articles and postings about MyISAM vs InnoDB but I am still a
bit unsure about which storage engine to use for my new project.

I am developing a website in PHP/MySQL, which includes features such as
member login, insert/update/delete operations for members to maintain
their records, report generation based on database entries, shopping
cart but payments will be made through Paypal gateway and the search
facility.

This is a medium level website. What storage engine is best suited for
this site and why? I prefer InnoDB because of foreign key support. I'd
also like to know why MyISAM is not made to support foreign keys? If
you guys recommend MyISAM for me, how should I implement foreign key
support? Do I have to explicitely make provisions for foreign key
support in MyISAM using PHP?

View Replies !
Innodb Logfiles
Is it possible to manually delete the logfiles created in innodb tables
and then do a 'touch logfilename' to recreate it?

View Replies !
Mysqlhotcopy On InnoDB
Does mysqlhotcopy work with innoDB? I only get it to work with MyISAM
tables... For innoDB only the structure is saved but not the data =20

View Replies !
Fulltext For InnoDB?
I was wondering, does anyone know if there are any plans to add FULLTEXT indexes to the almighty InnoDB such that it catches up with the funky MyISAM in terms of things you can pass to ALTER TABLE?

View Replies !
Specifying INNODB Without Configuration
Is it a bug or a feature that with the conditions

1. INNODB is not configured in my.cnf
2. Table type is specified as INNODB

When you create the table there is no warning, and no syntax error, and the table type silently
and Microsoft-like, defaults to MyISAM?Now, if you specify table type as TYPE=bullshit, you get a nice (and expected) syntax error.

View Replies !
Composed Of INNODB
My database is composed of INNODB tables such as


CREATE TABLEuser
(
nameVARCHAR(255)NOT NULL

) TYPE = INNODB;


The NOT NULL qualifier doesn't work as I would expect. While it
doesn't allow me to do this:

insert user values (null);

It will let me do this:

insert user values ("");

I appreciate that one could argue that "" is different to NULL and
therefore there is nothing wrong with this behaviour. However, surely
there is no defending the following (which is also allowed):

update user set name=NULL;

Is there any way that I can prevent users from setting a field to NULL
or ""?

View Replies !
InnoDB Can't Use System's RAM As Specified
I am coming across an annoying problem with a new InnoDB installation.
On a 4Gig RAM box, Mysql doesn't seem to want to grab the RAM I am
telling it to take.

I would like for it to try and use around 3 Gigs for its
innodb_buffer_pool_size, but it refuses to startup with anything greater
than 512M. I bugged RedHat about it, and they had me change the shared
memory allowance to 3Gigs, but nothing changed. I'd really like to get
the pool size up so that the server doesn't have to go to disk so often.
I will admit to being an InnoDB newbie, I am reading everything I can
find though and have used the example my.cnf files to tweak it pretty
decently. This memory issue is all that is really bugging me at the
moment. Code:

View Replies !
Key_buffer_size And Innodb
I only use InndoDB table type.
In this case, is it necessary (or useful) to set a big value to
buffer_key_size ?

I think it's better to allocate RAM to innodb_buffer_pool_size rather
than buffer_key_size

I'am wrong ?

View Replies !
Replication And InnoDB
I'd like to setup the following:

Server A <-- Server B <-- Server C
Data A some of Data A some of Data A
Data B Data B

Server A should be the master for server B. Server B should get not
all but some of the data of server A. Additionally there should be
other data stored on server B. Server B is slave for server A and
master for server C. Server C simply should get all the data of server
B.

No problem with MyISAM, but with InnoDB some questions arise:

The manual says, that one should shut down the master and copy the
InnoDB datafiles, logs and .frm files.

1.) If I only need some data of server A on server B wouldn't it be
overkill to copy all the InnoDB data?

2.) If I want to store other data on server B I can't mix up the
InnoDB datafiles and logs for data A and B, can I?

View Replies !
InnoDB Autodeletion
I have a simple, but very general problem with MySQL using InnoDB tables.
I am sure you experienced folks can give me a solution...

Using foreign keys I want to delete a row in the table T_Child with WHERE
T_Child.Parent_ID=x
when ALL ROWS in the Parent table with ID=x are deleted.(This behaviour is very useful
when Parent table is a list where T_Parent.ID is the ID column of the list
and hence, x can occur multiple times
in this column.)As it is now, as soon as ONE row with ID=x in the Parent table is deleted,all rows in the Child table
WHERE Parent_ID=x are also deleted.

View Replies !
MyIsam DB To InnoDB...
How do I convert my existing database, which I'm using MySQL ver 4 for Windows and MyISAM table type to store the data, to the new format – InnoDB, without problem (
losing data...)

View Replies !
Backup InnoDB
I just installed MySQL and I need to make a backup of my InnoDB tables
but I don't want to purchase the tool to do it. Does anyone have a
detailed list of how to do this.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved