MySQL Forums
Forum List  »  Spanish

Re: FEDERATED engine no soportada
Posted by: Jesús Uzcanga
Date: March 19, 2013 08:13AM

Joel. Esto lo podías resolver googleando un poco.

Este motor no se "activa" simplemente en el my.cnf. Antes debes compilar Mysql-Server de la siguiente manera:

Para activar este motor, use la opción --with-federated-storage-engine con configure al compilar MySQL.

Extraido de: http://dev.mysql.com/doc/refman/5.0/es/federated-install.html


Luego al crear un tabla debes indicarle que su motor será FEDERATED:

Ejemplo extraido del foro

CREATE TABLE `federated`.`federated_table1` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`other` int(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `name` (`name`),
KEY `other_key` (`other`)
) ENGINE=FEDERATED DEFAULT CHARSET=latin1 CONNECTION='mysql://user1:user1@localhost:3306/federated/test_table';

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: FEDERATED engine no soportada
1325
March 19, 2013 08:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.