Quantcast
Channel: Zammad - Community - Latest posts
Viewing all articles
Browse latest Browse all 6728

MySQL_installation

$
0
0

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:in handle_interrupt' /usr/share/rvm/gems/ruby-3.1.3/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in query’
< Blockquote


Viewing all articles
Browse latest Browse all 6728

Trending Articles