Step 1 of 3
Boot dolt sql-server and query over TCP
/workspace/getting_started holds a pre-initialized Dolt database with employees, teams, and employees_teams tables plus a conflicting salary-fix branch.
Start dolt sql-server on 127.0.0.1:3306 and query the employees table over TCP using the mysql client:
bash
(cd getting_started && exec dolt sql-server -H 127.0.0.1) >/tmp/d.log 2>&1 </dev/null & echo $!>/tmp/dolt.pid && while ! mysql --skip-ssl -h127.0.0.1 -uroot getting_started -e "SELECT * FROM employees">e.txt 2>/dev/null; do sleep 0.3; done && cat e.txt