- {#if !isTesting && sqlConnectResult && sqlConnectResult.msgtype == 'connected'}
-
- Connected:
- {sqlConnectResult.version}
-
- {/if}
- {#if !isTesting && sqlConnectResult && sqlConnectResult.msgtype == 'error'}
-
- Connect failed:
- {sqlConnectResult.error}
-
- showModal(ErrorMessageModal, {
- message: sqlConnectResult.detail,
- showAsCode: true,
- title: 'Database connection error',
- })}
- >
- Show detail
-
-
- {/if}
- {#if isTesting}
-
- Testing connection
-
- {/if}
-