cube-js/cube

Setting session variables in mysql

Open

#2,265 opened on Mar 3, 2021

 (4 comments) (0 reactions) (1 assignee)Rust (1,965 forks)batch import
driver:mysqlhelp wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (PR metrics pending)

Description

Problem

I'd like to set some session variables in mysql after the connection pool is created. I just wanted to make sure I'm not missing anything, but it doesn't look like this is currently possible without modifying the mysql driver?

Contributor guide