Advertisement
MatthijsFontys

Connect to database on kubernetes

May 11th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. $ kubectl run mssqlcli --image=microsoft/mssql-tools -ti --restart=Never --rm=true -- /bin/bash
  2. $ sqlcmd -S mymssql-mssql-linux -U sa
  3. Password: <Enter SA Password>
  4. $ 1> select @@VERSION;
  5. $ 2> go
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement