LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2010, 09:20 AM   #1
zaeem
Member
 
Registered: Jan 2010
Posts: 125

Rep: Reputation: 15
Federated Table issue


Dear All,

I am using MySQL 5.1.46 and I have created following server and federated table,

CREATE SERVER s1
FOREIGN DATA WRAPPER mysql
OPTIONS (USER 'root', PASSWORD 'root123',HOST '192.178.0.187', PORT 3306, DATABASE 'test');



drop table if exists test_table;
CREATE TABLE test_table (
id INT(20) NOT NULL AUTO_INCREMENT,
name VARCHAR(32) NOT NULL DEFAULT '',
other INT(20) NOT NULL DEFAULT '0',
PRIMARY KEY (id),
INDEX name (name),
INDEX other_key (other)
)
ENGINE=FEDERATED
DEFAULT CHARSET=latin1
CONNECTION='s1/test_table';



Now when I am going to insert data into test_table I got error "[Err] 1429 - Unable to connect to foreign data source: Can't connect to MySQL server on '192.178.0.187' (113)". The table is created on host 192.168.0.187 and federated table is created on Host: 192.168.0.122 and I can easily connect to mysql running .187 server from .122 server.

Please let me know what I am doing wrong which causing this error? Is there anything wrong with create server command.

Any help would be greatly appreciated.

Regards,

Shirazi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
access paging table memory using another page table via MMU? valpa Linux - Kernel 8 08-26-2008 03:26 PM
how to enable federated engine??? loplayers Linux - Newbie 0 10-24-2007 01:40 AM
LXer: Can the Concordia Project Bring Coherence to Federated Identity? LXer Syndicated Linux News 0 05-10-2007 04:31 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM
Win2K Partition Table Issue - n00bie grimreefer Linux - General 2 02-18-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration