<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hi, I'm testing a new db that is dolt, is like git in db, literally, but that db does not support connection through socket, but the db is mysql, or like a simulation of it, I'm trying this to check the connection:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>ogrinfo MySQL:"host=127.0.0.1 port=3306 user='root' password='' dbname='test'"<br><div><br></div><div dir="ltr" data-setdir="false">I try several syntax too, and the answer from the ogrinfo was similar to:<br></div><div dir="ltr" data-setdir="false"><div><br></div><div>ERROR 1: MySQL connect failed for: host=127.0.0.1;port=3306;user='root';password=XXXXXXXXXXXXXXXXXXXXXXX connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)<br>ERROR 1: MySQL connect failed for: host=127.0.0.1;port=3306;user='root';password=XXXXXXXXXXXXXXXXXXXXXXX connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)<br>FAILURE:<br>Unable to open datasource `MySQL:host=127.0.0.1;port=3306;user='root';password='';dbname='water'' with the following drivers.</div><div><br></div></div></div><div dir="ltr" data-setdir="false">(here the very long list of drivers, MySQL is in the list.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">ogr is trying to connect from a socket, and the db does not support it, the connection need to be TCP, how can I force the ogr to use TCP? (not just for local, for remote servers too, and ogr2ogr too)<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thx.<br></div></div></div></body></html>