I have below configuration at the moment:
deployer-conf:
<State>
<Storage Adapter="mssql" driver="com.microsoft.sqlserver.jdbc.SQLServerDriver">
<Property Name="host" Value="xx.xxx.xx.xxx"/>
<Property Name="port" Value="1433"/>
<Property Name="database" Value="Sites9_Broker"/>
<Property Name="user" Value="xxxxxxx"/>
<Property Name="password" Value="********"/>
<Property Name="validationQuery" Value="SELECT 1"/>
</Storage>
</State>
cd_storage_conf:
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL"
Class="com.tridion.storage.persistence.JPADAOFactory">
<Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120"/>
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="xx.xxx.xx.xxx" />
<Property Name="portNumber" Value="1433" />
<Property Name="databaseName" Value="Sites9_Broker" />
<Property Name="user" Value="xxxxxxx" />
<Property Name="password" Value="********"/>
</DataSource>
</Storage>
I have looked at doc and it tells - If you installed your State Store database tables in the same database as the Content Data Store (which is what happens by default), you can consult the Storage element for the Content Data Store as found in the Storage Layer configuration file, cd_storage_conf.xml. Note that that Storage element has a different definition than the present one.