<html><head></head><body><div class="ydp14d7e32yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">Well, I was using bad the syntax, and if instead of localhost I use the numbers, works, at least half of it.., I'll check this more instead ask here first, to confirm here where to ask.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thx :)<br></div></div><div id="yahoo_quoted_8131038543" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    El miércoles, 23 de marzo de 2022, 03:21:06 p. m. GMT-3, Felipe Matas via gdal-dev <gdal-dev@lists.osgeo.org> escribió:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv2287167599"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" class="yiv2287167599yahoo-style-wrap"><div dir="ltr">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"><br></div><div dir="ltr"><div>ogrinfo MySQL:"host=127.0.0.1 port=3306 user='root' password='' dbname='test'"<br><div><br></div><div dir="ltr">I try several syntax too, and the answer from the ogrinfo was similar to:<br></div><div dir="ltr"><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">(here the very long list of drivers, MySQL is in the list.</div><div dir="ltr"><br></div><div dir="ltr">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"><br></div><div dir="ltr">Thx.<br></div></div></div></div></div>_______________________________________________<br>gdal-dev mailing list<br><a ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></div>
            </div>
        </div></body></html>