Difference between Initial Catalog and Database keyword in connection string

The only difference is the name.

These can be used interchangeably.

See the documentation of SqlConnectionStringBuilder.InitialCatalog, under remarks:

This property corresponds to the “Initial Catalog” and “database” keys within the connection string.

(emphasis mine)

Leave a Comment

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