About the Cobra package

I ‘m designing and implementing the personal note site for users with Cobra + viper, using Go as backend and React for frontend.
Now what i wish to do is just to change the DB name.(I use the MySQL DB and set the default as the root user and no password. And DB name was memos originally.)
So I changed the name as like this:

viper.SetDefault(“dsn”, “root@tcp(127.0.0.1:3306)/memos?charset=utf8mb4&parseTime=True&loc=Local”) //original
viper.SetDefault(“dsn”, “root@tcp(127.0.0.1:3306)/memos_db?charset=utf8mb4&parseTime=True&loc=Local”) //after changewell,

In case of local—when I run this server in my host, there was no error, but the others that fork my git, can’t run correctly—there couldn’t migrate……….let me know , plz, who has done such issue already?

I mean - how are they setting their database up? Are you shipping this with a docker compose? What was the error? Etc.

Thanks for reply, well, users should create the DB by themselves(ex, create the MySQL DB as named to memos–this is default name in this project ), then the backend server create the essential tables automatic, using migration.
But when I change the DB name,(also other users change DB name in their owner-MySQL server too,) It’s finish the error that can’t migrate table in DB.
I didn’t use docker still, but it’s same result even if use.

They probably didn’t create a DB with that name if I had to guess. Again - an actual error message would be useful.