GeoffMontee
Did you execute install_spider.sql after upgrading? I think I forgot to add checking for it. I'm sorry for this inconvenient.
Kentoku Shiba (Inactive)
added a comment - GeoffMontee
Did you execute install_spider.sql after upgrading? I think I forgot to add checking for it. I'm sorry for this inconvenient.
Also, please note that this is on Ubuntu Xenial. From my understanding, on deb-based systems, Spider comes in a separate package, which has properly installed in this case. Do I still need to run install_spider.sql?
Jiravit Supavatanangura
added a comment - Also, please note that this is on Ubuntu Xenial. From my understanding, on deb-based systems, Spider comes in a separate package, which has properly installed in this case. Do I still need to run install_spider.sql?
jiravit
Normally, it's under share directly like /usr/share/mysql
If you don't find it. Please execute the following for now. I'll check about installer of Ubuntu Xenial.
alter table mysql.spider_table_sts add column checksum bigint unsigned default null after update_time;
Please execute "show create table mysql.spider_table_sts". If the table has "checksum" column, it is the latest and no need to execute install_spider.sql.
Kentoku Shiba (Inactive)
added a comment - jiravit
Normally, it's under share directly like /usr/share/mysql
If you don't find it. Please execute the following for now. I'll check about installer of Ubuntu Xenial.
alter table mysql.spider_table_sts add column checksum bigint unsigned default null after update_time;
Please execute "show create table mysql.spider_table_sts". If the table has "checksum" column, it is the latest and no need to execute install_spider.sql.
kentoku That fixed it! After manually altering the table, I was able to run mysql_upgrade successfully. The problem has been resolved. Thanks,
Jiravit Supavatanangura
added a comment - kentoku That fixed it! After manually altering the table, I was able to run mysql_upgrade successfully. The problem has been resolved. Thanks,
I just added checks for checking out such a issue without crash.
The commit about this checks is the following. cec9674
In the other hand, I couldn't find any installer issue so far. Anyway, I would like to fix this by merging install_spider.sql into Spider.
Kentoku Shiba (Inactive)
added a comment - jiravit
I'm glad to hear that.
I just added checks for checking out such a issue without crash.
The commit about this checks is the following.
cec9674
In the other hand, I couldn't find any installer issue so far. Anyway, I would like to fix this by merging install_spider.sql into Spider.
Anyway, I would like to fix this by merging install_spider.sql into Spider.
You might be interested in a feature request that I just created. See MDEV-19852 - Change plugin API to allow plugins to run a script when installed.
Geoff Montee (Inactive)
added a comment - Hi Kentoku ,
Anyway, I would like to fix this by merging install_spider.sql into Spider.
You might be interested in a feature request that I just created. See MDEV-19852 - Change plugin API to allow plugins to run a script when installed.
GeoffMontee
I moved install_spider.sql into Spider except installing Spider.
The commit with this checks is the following. c11e881
Please check it.
Kentoku Shiba (Inactive)
added a comment - GeoffMontee
I moved install_spider.sql into Spider except installing Spider.
The commit with this checks is the following.
c11e881
Please check it.
That's cool. I don't have the time to test it, but if you say that it works properly, then that sounds like a good improvement.
Geoff Montee (Inactive)
added a comment - Hi Kentoku ,
That's cool. I don't have the time to test it, but if you say that it works properly, then that sounds like a good improvement.
kentoku
We do not find this crash, and we have thousands of spider instances.
By the way, we compile Spider as a static engine and move install_spider.sql into mysql_install_db
willhan
added a comment - kentoku
We do not find this crash, and we have thousands of spider instances.
By the way, we compile Spider as a static engine and move install_spider.sql into mysql_install_db
GeoffMontee
Did you execute install_spider.sql after upgrading? I think I forgot to add checking for it. I'm sorry for this inconvenient.