<div dir="ltr">Estimad@s,<div>Estoy teniendo problemas con el plugin MySQL Import</div><div><br></div><div>Me crea la conexion pero luego me da error y no carga en la base de datos la capa.</div><div><br></div><div><p style="margin:0px;white-space:pre-wrap"><span style="font-weight:600;color:rgb(255,0,0)">Ha ocurrido un error mientras se ejecutaba el código de Python:</span> <br></p>
<h3 style="margin:14px 0px 12px"><span style="font-size:large">subprocess.CalledProcessError: Command 'ogr2ogr -f "MySQL" MYSQL:"datageo,host=localhost,user=edukoski,password=m3rlin,port=3306" -a_srs "EPSG:4326" -lco engine=MYISAM "primernivel.shp"' returned non-zero exit status 1. </span></h3>
<pre style="margin-top:12px;margin-bottom:12px"><span style="font-family:"monospace"">Traceback (most recent call last):<br>  File "/home/eduardo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/mysqlimport/mysql_import.py", line 236, in run<br>    subprocess.check_call(command, shell=True)<br>  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call<br>    raise CalledProcessError(retcode, cmd)<br>subprocess.CalledProcessError: Command 'ogr2ogr -f "MySQL" MYSQL:"datageo,host=localhost,user=edukoski,password=m3rlin,port=3306" -a_srs "EPSG:4326" -lco engine=MYISAM "primernivel.shp"' returned non-zero exit status 1.<br></span></pre>
<p style="margin:0px;white-space:pre-wrap"><br><span style="font-weight:600">Versión de Python:</span> 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0] <br><span style="font-weight:600">Versión de QGIS:</span> 3.24.2-Tisler Tisler, 13c1a02865 <br></p>
<h4 style="margin:12px 0px"><span style="font-size:medium">Ruta de Python:</span></h4>
<ul style="margin:0px"><li style="margin:12px 0px 0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/cgl_tools</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/clusterpoints</li>
<li style="margin:0px;white-space:pre-wrap">/usr/share/qgis/python</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins</li>
<li style="margin:0px;white-space:pre-wrap">/usr/share/qgis/python/plugins</li>
<li style="margin:0px;white-space:pre-wrap">/usr/lib/python310.zip</li>
<li style="margin:0px;white-space:pre-wrap">/usr/lib/python3.10</li>
<li style="margin:0px;white-space:pre-wrap">/usr/lib/python3.10/lib-dynload</li>
<li style="margin:0px;white-space:pre-wrap">/home/eduardo/.local/lib/python3.10/site-packages</li>
<li style="margin:0px;white-space:pre-wrap">/usr/local/lib/python3.10/dist-packages</li>
<li style="margin:0px;white-space:pre-wrap">/usr/lib/python3/dist-packages</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/kmltools/libs</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/mmqgis/forms</li>
<li style="margin:0px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis2web</li>
<li style="margin:0px 0px 12px;white-space:pre-wrap">/home/edu/.local/share/QGIS/QGIS3/profiles/default/python/plugins</li></ul></div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Eduardo</div></div></div>