Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why MyISAM specified ? #2

Open
JarvisChu opened this issue Jan 13, 2020 · 1 comment
Open

Why MyISAM specified ? #2

JarvisChu opened this issue Jan 13, 2020 · 1 comment

Comments

@JarvisChu
Copy link

Hi, I notice that in NewStoreWithDB function, MyISAM is specified to to create table.
Would you please expain why MyISAM is needed?

func NewStoreWithDB(db *sql.DB, tableName string, gcInterval int) *Store {
    store := &Store{
	db:        &gorp.DbMap{Db: db, Dialect: gorp.MySQLDialect{Encoding: "UTF8", Engine: "MyISAM"}},
	tableName: "oauth2_token",
	stdout:    os.Stderr,
}
@vinhha96
Copy link

vinhha96 commented Mar 8, 2022

I am having the same problem using CloudSQL

3161 Storage engine MyISAM is disabled (Table creation is disallowed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants