Tables with extrenal connection

domus71's profile image domus71 posted 10 years ago in General Permalink
Hi there!

I use SphinxSE in my database and I have created a table with external connection with Sphinx. The command SHOW CREATE TABLE seems to generate the correct sql statement.

CREATE TABLE `app_phrases_index` (
`phrase_id` bigint(20) unsigned NOT NULL,
`weight` int(11) NOT NULL,
`query` varchar(3072) NOT NULL,
`group_id` int(11) DEFAULT NULL,
KEY `query` (`query`(1024))
) ENGINE=SPHINX DEFAULT CHARSET=utf8 CONNECTION='sphinx://localhost:9312/books'


The HeidiSQL seems to lose the CONNECTION parameter.

Thanks
Costis Papadakis
ansgar's profile image ansgar posted 10 years ago Permalink
Where exactly doese HeidiSQL lose that CONNECTION clause? Afte pressing "Save" in a modified table structure or after exporting that table or...?
domus71's profile image domus71 posted 8 years ago Permalink

On "CREATE code" tab the CONNECTION parameter is missing. Also, there is no reference in any tab about external connection.

Costis Papadakis

ansgar's profile image ansgar posted 8 years ago Permalink

Does that CONNECTION value show up in the result of such a query?

SHOW TABLE STATUS LIKE 'app_phrases_index'
domus71's profile image domus71 posted 8 years ago Permalink

No, it doesn't. :(

ansgar's profile image ansgar posted 8 years ago Permalink

So that will be difficult. HeidiSQL relies on the SHOW TABLE STATUS output in MySQL mode.

Please login to leave a reply, or register at first.