There is no need to keep embed driver, Since we support MySQL protocol.
We should remove https://github.com/pingcap/tidb/blob/master/driver.go
Ping @coocood
@Unknwon TiDB can listening on local socket, if you use TiDB as an embeddable database, TiDB doesn't need to listen on any ports.
@ngaut There is still a few tests depend on driver. I will update those tests. Hope it could be done in this week.
Why do you want to drop the option to embed tidb? I really like the idea of an embedded database as some kind of alternative to sqlite in pure go.
Hi @tboerger, you can still use TiDB as an embed database. TiDB acts as MySQL server by listening on unix socket or network socket. To making things simple and clean, users should use any of MySQL drivers.
But if I need a server to provide the socket it's not embedded?
A follow up question: does TiDB right now can only be started with binary tidb-server?
Yes. @Unknwon
Another follow up question: Is there a plan to implement a way to start the server without using the binary, so it can be a fully embedded solution?
@mjmfighter We do not intend to be an embedded database. So there is no solution.
I thought tidb can be a real sqlite alternative, sad that this don't happen.
Done