Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    19

    Default Federated table in Mysql

    HEllo All!

    Does anyone know how to activate Federated table in cpanel?

    Thank you very much
    Last edited by Nikoms; 11-05-2007 at 10:10 AM. Reason: Change the title

  2. #2
    Member
    Join Date
    Nov 2006
    Posts
    19

    Default Federated Tables in MySQL

    HEllo All!

    Does anyone know how to activate Federated table in cpanel?

    Thank you very much

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    19

    Default

    Thanks,

    But I can't create table in federated because, it's not activated....

    So is there a checkbox or something where I can activate federated table?

  5. #5
    Member
    Join Date
    Nov 2006
    Posts
    19

    Default

    up

    nobody?

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    **Merged Duplicated Thread**

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Using the cPanel provided RPMs and making certain that both servers are using MySQL 5, the example tables in the MySQL documentation worked. THe only variance needed was when defining the DSN I also needed to provide the password, so my DSN was in the format:

    Code:
    mysql://user:password@host:port/db/table
    Some things to consider when troubleshooting:

    1. The user specified in the DSN needs remote access to the remote MySQL instance. This means on the remote server, where the database table used by the federated is actually stored, a GRANT similar to the following needs performed:

    Code:
    GRANT SELECT, DELETE, UPDATE on database.table to user@host identified by 'password';
    2. MySQL on the remote system needs to be listening to a TCP port. This may be disabled in your /etc/my.cnf file.

    3. The MySQL TCP must not be firewalled (or at least allow connections from the other MySQL server).

    4. Both servers must be using MySQL 5.0

    5. The actual table must exist first on the remote MySQL server.

    Installs on FreeBSD may differ.

    If you still encounter difficulties, please post the actual error messages reported by MySQL.

  8. #8
    Registered User
    Join Date
    Nov 2007
    Posts
    1

    Default

    I reply for Nikoms we work on the same server.
    The problem, he don't come from the creation of the table.

    But from the mysql server configuration.

    This is the result "show engines;" :

    'MyISAM', 'DEFAULT', 'Default engine as of MySQL 3.23 with great performance'
    'MEMORY', 'YES', 'Hash based, stored in memory, useful for temporary tables'
    'InnoDB', 'YES', 'Supports transactions, row-level locking, and foreign keys'
    'BerkeleyDB', 'NO', 'Supports transactions and page-level locking'
    'BLACKHOLE', 'NO', '/dev/null storage engine (anything you write to it disappears)'
    'EXAMPLE', 'NO', 'Example storage engine'
    'ARCHIVE', 'YES', 'Archive storage engine'
    'CSV', 'NO', 'CSV storage engine'
    'ndbcluster', 'NO', 'Clustered, fault-tolerant, memory-based tables'
    'FEDERATED', 'NO', 'Federated MySQL storage engine'
    'MRG_MYISAM', 'YES', 'Collection of identical MyISAM tables'
    'ISAM', 'NO', 'Obsolete storage engine'


    We use : WHM 11.11.0 cPanel 11.15.0-R17981
    On : FEDORA 4 i686 on standard - WHM X v3.1.0

  9. #9
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Idaf_1er View Post
    I reply for Nikoms we work on the same server.
    The problem, he don't come from the creation of the table.

    But from the mysql server configuration.

    This is the result "show engines;" :

    'MyISAM', 'DEFAULT', 'Default engine as of MySQL 3.23 with great performance'
    'MEMORY', 'YES', 'Hash based, stored in memory, useful for temporary tables'
    'InnoDB', 'YES', 'Supports transactions, row-level locking, and foreign keys'
    'BerkeleyDB', 'NO', 'Supports transactions and page-level locking'
    'BLACKHOLE', 'NO', '/dev/null storage engine (anything you write to it disappears)'
    'EXAMPLE', 'NO', 'Example storage engine'
    'ARCHIVE', 'YES', 'Archive storage engine'
    'CSV', 'NO', 'CSV storage engine'
    'ndbcluster', 'NO', 'Clustered, fault-tolerant, memory-based tables'
    'FEDERATED', 'NO', 'Federated MySQL storage engine'
    'MRG_MYISAM', 'YES', 'Collection of identical MyISAM tables'
    'ISAM', 'NO', 'Obsolete storage engine'


    We use : WHM 11.11.0 cPanel 11.15.0-R17981
    On : FEDORA 4 i686 on standard - WHM X v3.1.0
    Thanks for the added info. Apparently support for Federated tables is not enabled in the MySQL RPMs provided for the Release branch - verified on two separate servers. The tests I performed earlier were on the Current branch, which has different RPMs.

Similar Threads & Tags
Similar threads

  1. Adding MySQL Tables
    By nightone78 in forum Database Discussions
    Replies: 9
    Last Post: 12-22-2008, 09:33 PM
  2. FEDERATED Storage Engine in MySQL
    By rabid_nerd in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-05-2007, 04:31 PM
  3. MailScanner MySQL Tables
    By kaspersetz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-29-2006, 03:33 AM
  4. temporary mySQL tables
    By bonnmac in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-04-2003, 08:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube