How to create own database in redis?

Redis database is not an equivalent of database names in DBMS like mysql.
It is a way to create isolation and namespacing for the keys, and only provides index based naming, not custom names like my_database.

By default, redis has 0-15 indexes for databases, you can change that number
databases NUMBER in redis.conf.

And then you use SELECT command to select the database you want to work on.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)