No account, only a lightweight auth password authentication
/etc/redis.conf
requirepass myPassword
There is no database similar to mysql, only key/value database, which is equivalent to each key being a database, and then value can correspond to N types, strings, lists, sets, etc.
Another more recommended usage is that if you really have multiple "database" needs, you can run multiple redis instances at the same time to divide them
Redis does not have the concept of an account. Only Host and Port are needed to connect to the Redis server.
Redis is an in-memory database, but Redis will persist the data in the memory to the disk regularly. As for the circumstances under which Redis will persist the data to the disk, it can be configured in the configuration.
When Redis starts, the files on the disk will be read into the memory.
No account, only a lightweight auth password authentication
/etc/redis.conf
There is no database similar to mysql, only key/value database, which is equivalent to each key being a database, and then value can correspond to N types, strings, lists, sets, etc.
Multiple databases: yes, switch by select
User: None
Another more recommended usage is that if you really have multiple "database" needs, you can run multiple redis instances at the same time to divide them
Redis does not have the concept of an account. Only Host and Port are needed to connect to the Redis server.
Redis is an in-memory database, but Redis will persist the data in the memory to the disk regularly. As for the circumstances under which Redis will persist the data to the disk, it can be configured in the configuration.
When Redis starts, the files on the disk will be read into the memory.