Hello everyone!
I want to install zammad with mysql as db. I followed guide from official site " Install from source"
Using Ubuntu 22.04 and I stuck with the point when I try to migrate db (rake db:migrate). Has everyon face the same issue ? Any solution ?
Blockquote
– create_table(:groups, {:options=>“ENGINE=InnoDB”, :id=>:integer})
→ 0.6335s
– add_index(:groups, [:name], {:unique=>true})
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Specified key was too long; max key length is 3072 bytes
/usr/share/rvm/gems/ruby-3.1.3/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in_query' /usr/share/rvm/gems/ruby-3.1.3/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in
block in query’
/usr/share/rvm/gems/ruby-3.1.3/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:inhandle_interrupt' /usr/share/rvm/gems/ruby-3.1.3/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in
query’
< Blockquote