-
Notifications
You must be signed in to change notification settings - Fork 261
Document MySQL version requirement for fleet #1644
Comments
Worth noting: Fleet is also incompatible with Amazon Aurora, which is billed as MySQL compatible. |
@kd8drx any details into what errors come up there? |
@groob Just a heads up...there are issues with MySQL 5.7 that comes with Ubuntu. Please let me know if you'd like help with testing |
@znb what kinds of issues? If you can provide a link or description I can start to test. Or did you mean your bug report you filed earlier? |
@groob I meant the bug I filed earlier. |
@znb were you able to resolve FAIL 20161118212641_CreateTablePasswordResetRequests.go error? |
@znb @sunilkal I just provisioned a Ubuntu 16.04 server on DigitalOcean and installed mysql with https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04 then followed the instructions on the docs page https://github.com/kolide/fleet/blob/63d60d5f6a0ec3239279250aa0a103f93d74b4ae/docs/infrastructure/fleet-on-ubuntu.md
|
The error happens fleet/server/datastore/mysql/migrations/tables/20161118212641_CreateTablePasswordResetRequests.go Line 17 in 63d60d5
You can try to see if changing the |
@groob Getting the same error with CentOS 7 fleet version 1.0.5
|
mind sharing the mysql config you have? Is |
@groob Perhaps share a working mysql config ? I'm really not sure where this is going wrong. |
The config for that mysql instance works, as does ubuntu on digital ocean. I'm not really sure how your distro is different, or whether the issue is coming up because of something else like TZ settings... I've seen the bug report a number of times but was never able to reproduce it myself. |
@groob Thanks I'll have a look into it. If it helps I'm not using Docker. I'll be using a server deployed in the Cloud rather than Docker instances. I'll keep tinkering. |
☂️ If you're using a specific cloud provider/ubuntu image it would be helpful to give us detailed steps that we could use to reproduce the error with. |
Weird...works fine with Ubuntu 16.04 in AWS, but not on a locally build Ubuntu server in Vmware Fusion. |
A diff of the two mysql configs and mysql version numbers would be extremely helpful. |
I'm also having issues using RDS in general with Fleet. I tried both Aurora and regular RDS MySQL and both get the following error:
I think switching to MyISAM might fix it, but only InnoDB is supported on RDS. I also tried changing all the character set related configurations in the RDS parameter group to |
Hi, I'm trying to prepare db using mysql |
any update on the mariadb issue? Trying to use it with centos 7.4 and mariadb 5.5.56-2.el7 and fleet 1.0.8 After a while I ended up with this "2018/07/10 20:39:54 FAIL 20161118212436_CreateTableDistributedQueryCampaigns.go (Error 1293: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause), quitting migration." That led me here eventually. For now I will find a different way for my dev work. |
seems that it does play nice with |
well. for MariaDB-server-10.1 we get this error @groob 2018/07/18 20:58:55 FAIL 20170306075207_UseUTF8MB.go (alter table file_integrity_monitoring_files: Error 1071: Specified key was too long; max key length is 767 bytes), quitting migration. did some looking around found this here
seems to be the same issue |
Cannot prepare db sudo /usr/bin/fleet prepare db --mysql_address=127.0.0.1:3306 --mysql_database=kolide --mysql_username=root --mysql_password=xxxx --logging_debug Error creating db connection: this authentication plugin is not supported I've added the port to firewalld, tested log in to mysql, changed the password policy requirements so that there are no special chars in the password What version of
|
@michaelsrpersaud I wonder if this is fixed by #1805. You could try updating to the latest Fleet 2.0 release and see if that works. Otherwise let's open a separate issue to look into this. |
Thanks zwass. Still the same issue Error creating db connection: this authentication plugin is not supported fleet - version 2.0.0-rc5 |
Could there be any relationship with the OS being Cent7 Minimal (1804)? |
So I also did a brand new vm with the full CentOS installer and it resulted in the same issue. After a lot of hours, I pieced together the solution - http://myitengineer.com/fleet-error-creating-db-connection/ |
Ah, I assume you must be using MySQL 8? I think we can fix this by updating the MySQL adapter. Next time, please open a separate issue for debugging. |
FWIW, MariaDB 10.3 on CentOS 7 is working. |
Fleet doesn't work well with older version of MySQL, at least not without making adjustments to the default configuration.
It also doesn't work with
mariadb
.We should ensure compatibility with these commonly used versions of mysql (esp mariadb), and we'll accept contributions if someone wants to take that on. But we also need to document more clearly exactly what the requirements are.
Aside from numerous questions in chat and other support discussions, there's also a number of github issues:
Fleet is tested and developed against
mysql 5.7
and works out of the box with that version.The text was updated successfully, but these errors were encountered: