SQL Server Express Setup Procedure

1.  SQL Server Express を Install する。

2.認証モードの変更、sa アカウントの有効化、リモート接続の許可

Object Explorer - right click main database - Property

Choose below,









Go to Security - Logins then Click "sa".









Un check "Enforce password policy to use short password.


Choose Status and set below



 


 





Choose connections and select below,








2. 各種設定をする。


3.TCP/IPの有効化

enable TCP/IP







固定ポートを使用の場合

デフォルトでは、「既定のインスタンス」に設定した場合は、固定ポートに設定されていますが、Web PI でインストールした場合と「名前付きインスタンス」に設定した場合は、動的ポートに設定されています。動的ポートに設定されている場合は、固定ポートに設定を変更します。変更の手順は、上の図で、プロパティをクリックすると「TCP/IPのプロパティ」ダイアログが表示されるので、「IPアドレス」タブを選択します。一番下のIPAllで、「TCP ポート」をSQL Server標準の1433に、「TCP 動的ポート」を空白にしてOKボタンをクリックします。SQL-Server を再起動すると設定が有効になり、固定ポートで接続できるようになります。










Restart Server,







4. Windows Firewall の 1433 ポートを開く

UTP 1433 と TCP 1433 の受信を許可するようにします。


Thanks,


Reference: https://creativeweb.jp/fc/remote/


Comments

Popular posts from this blog

Google: How to disable Auto Licensing

Microsoft 365で多要素認証の設定を解除したい