Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable Federated engine in MySQL 5.6 Windows

I am trying to enable Federated engine in MySQL. I did followed some post and blogs and i edited my-default.ini [Location: C:\Program Files\MySQL\MySQL Server 5.6] by adding federated keyword under [mysqld].

[mysqld]
federated

Later i have restarted MySQL Server and i went to cross verify whether it is enabled or not by firing SQL Query show engines;

Engine            Support            Transactions          XA     Savepoints
FEDERATED           NO                    NULL            NULL       NULL

Can any one please help me.

Environment Operating System : Windows 7 64bit MySQL Version : 5.6

like image 989
Naveen Avatar asked Feb 19 '14 14:02

Naveen


2 Answers

Correct edit, wrong file location.

The location for the configuration file for MySQL v5.6 with a default MySQL Installer installation on Windows 7 64-bit is:

C:\ProgramData\MySQL\MySQL Server 5.6\my.ini

Not C:\Program Files..

like image 117
dkloke Avatar answered Sep 18 '22 12:09

dkloke


Excelent!

I have tried this and it works fine.

Open a Windows Explorer and type 'C:\ProgramData' then enter the MySQL folder and you'll see the my.ini file.

Just ad federated unde [mysqld]

And that's all.

Also you can go to Tools on the windows explorer and select Folder Options, then View tab, and activate the 'Show hidden files and folder' option.

Now you'll be able to see the ProgramData filer.

Hope it helps you!

like image 27
alexventuraio Avatar answered Sep 22 '22 12:09

alexventuraio