Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am looking to created a linked connection between 2 servers. How do I enabled the federated engine in MySQL?

I just created this server. I have installed,
-apache
-mysql
-php
-phpmyadmin
all on Ubuntu 20.10 x64

Everything else is running, just wanting to get this link enabled :)

Thank you!

What I have tried:

From another source, someone said to do the below which I don't even have this file:
Edit /etc/my.cnf and in the [mysqld] section, add the line:

federated
Posted
Updated 7-Apr-21 14:15pm
v2

After doing some logical thinking, I was able to find it myself. It is under the folder: /etc/mysql/mysql.conf.d which holds global options/configurations.

File Name: mysqld.cnf

I then proceeded with adding federated to the below info:

[mysqld]
#
# * Basic Settings
#
user        = mysql
# pid-file  = /var/run/mysqld/mysqld.pid
# socket    = /var/run/mysqld/mysqld.sock
# port      = 3306
# datadir   = /var/lib/mysql
federated
 
Share this answer
 
So what happened when you read the entire FEDERATED section[^] of the MySQL documentation?
 
Share this answer
 
Comments
Cody O'Meara 7-Apr-21 20:18pm    
Unfortunately, the documentation from what I found did not explain how install/configure it as it was more of how to use.

And from what I did find on how to install from other sources, the results were not the same on my side.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900