Removed mysql stuff from the creds file as it was removed a while ago.

This commit is contained in:
Toastie 2025-01-15 19:31:27 +13:00
parent 830333b758
commit 06c4fb658b
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -202,7 +202,7 @@ public sealed class Creds : IBotCreds
: IDbOptions : IDbOptions
{ {
[Comment(""" [Comment("""
Database type. "sqlite", "mysql" and "postgresql" are supported. Database type. "sqlite" and "postgresql" are supported.
Default is "sqlite" Default is "sqlite"
""")] """)]
public string Type { get; set; } public string Type { get; set; }
@ -211,7 +211,6 @@ public sealed class Creds : IBotCreds
Database connection string. Database connection string.
You MUST change this if you're not using "sqlite" type. You MUST change this if you're not using "sqlite" type.
Default is "Data Source=data/EllieBot.db" Default is "Data Source=data/EllieBot.db"
Example for mysql: "Server=localhost;Port=3306;Uid=root;Pwd=my_super_secret_mysql_password;Database=ellie"
Example for postgresql: "Server=localhost;Port=5432;User Id=postgres;Password=my_super_secret_postgres_password;Database=ellie;" Example for postgresql: "Server=localhost;Port=5432;User Id=postgres;Password=my_super_secret_postgres_password;Database=ellie;"
""")] """)]
public string ConnectionString { get; set; } public string ConnectionString { get; set; }