How to change default database in keystone?
Dear All, As I see from testcase command for testing the next migration in sequence (both forward & backward) in a database under version control: "python keystone/common/sql/migrate_repo/manage.py test \ --url=sqlite:///test.db \ --repository=keystone/common/sql/migrate_repo/" The default DB in keystone is sqlite, I want to change default DB to MySQL. How can I do? I also find in keystone.conf file. But I dont know where and how to change! Please help me!
Thanks you so much
It should be "[database] connection=xxxxxxxxx? ", isn't it?
Strangely, mysql is used in my environment, while such entry is actually commented.
Yes, Maybe you install from DevStack, but in my case, I deploy keystone from keystone source code. I dont know it deference or not?
I use the following command: "cat etc/keystone.conf | grep mysql", the result is that: #mysql_sql_mode=TRADITIONAL So there is one line that have mysql is: "mysql_sql_mode=TRADITIONAL" but it is commented. I continue to check sqlite in keystone.conf file so that i see it also commented. #sqlite_db=keystone.sqlite #sqlite_synchronous=true But sqlite is default DB? Why do i change to mysql db? Can you please explain more? Thanks