<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - MySQL Shell</title>
        <description>Forum for MySQL Shell.</description>
        <link>https://forums.mysql.com/list.php?178</link>
        <lastBuildDate>Mon, 18 May 2026 10:20:45 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?178,741487,741487#msg-741487</guid>
            <title>util.dump requires mysql.user read priv (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,741487,741487#msg-741487</link>
            <description><![CDATA[ Hello,<br />
I would like to propagate using mysql.shell util.dump tools in developers&#039; area (to migrate tables or databases). It&#039;s nice tool and it has many advantages... but, I cannot do this because of this error:<br />
<br />
ERROR: Unable to check privileges for user &#039;user&#039;@&#039;localhost&#039;. User requires SELECT privilege on mysql.* to obtain information about all roles.<br />
<br />
For specific user, who is not administrator, I cannot give reading mysql schema privilege due security reason. <br />
I don&#039;t see also any workaround. <br />
<br />
Why for dumping single table or even schema, there is a need read whole mysql schema? <br />
<br />
For mysqldump it&#039;s not needed. <br />
<br />
Any tips how to use these tools by non-administrative accounts? <br />
If not, then it&#039;s useless for devs.]]></description>
            <dc:creator>Krzysztof Wróblewski</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Sun, 14 Dec 2025 19:35:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,740223,740223#msg-740223</guid>
            <title>Update Catalog through Shell gives error (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,740223,740223#msg-740223</link>
            <description><![CDATA[ We are trying to automatize the server upgrade process for our environments, as there are many servers. We tried creating a small powershell command that basically does:<br />
C:\Program Files (x86)\MySql\MySql Installer for Windows\MySqlInstallerConsole.exe --update<br />
<br />
When running this it starts but we get this:<br />
Running Catalog upgrade on CSC2CWN00006671.CLOUD.KP.ORG<br />
=================== Start Initialization ===================<br />
MySQL Installer is running in Community mode<br />
<br />
Attempting to update manifest.<br />
Initializing product requirements<br />
Loading product catalog<br />
Checking for product catalog snippets<br />
Checking for product packages in the bundle<br />
Categorizing product catalog<br />
Finding all installed packages.<br />
Your product catalog was last updated at 4/14/2020 4:14:36 AM<br />
=================== End Initialization ===================<br />
<br />
<br />
<br />
--update is not a supported action.<br />
=================== Start Initialization ===================<br />
MySQL Installer is running in Community mode<br />
<br />
Attempting to update manifest.<br />
Initializing product requirements<br />
Loading product catalog<br />
Checking for product catalog snippets<br />
Checking for product packages in the bundle<br />
Categorizing product catalog<br />
Finding all installed packages.<br />
Your product catalog was last updated at 4/14/2020 4:14:36 AM<br />
=================== End Initialization ===================<br />
<br />
--update is not a supported action. <br />
<br />
Why is it doing this? If we do it manually on the GUI it works fine, we just have to click on Execute twice on the Catalog part. <br />
<br />
Why is the --update option not running for older versions? Was there any restrictions?]]></description>
            <dc:creator>Miguel Ortega</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Fri, 07 Feb 2025 16:57:51 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,730686,730686#msg-730686</guid>
            <title>Issue with Temporary AWS Token Expiration During MySQL Shell dumpInstance to S3 (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,730686,730686#msg-730686</link>
            <description><![CDATA[ Hello everyone,<br />
<br />
I&#039;m encountering an issue with MySQL Shell when using the util.dumpInstance() function to upload data directly to Amazon S3. Specifically, when I run:<br />
<br />
mysqlsh -e &quot;util.dumpInstance(&#039;$name&#039;,{&#039;s3bucketName&#039;: &#039;$bucket_name&#039;, &#039;threads&#039;: &#039;7&#039;, &#039;bytesPerChunk&#039;: &#039;2G&#039;})&quot;<br />
<br />
the upload sometimes fails due to AWS temporary tokens expiring before the dump completes. Since AWS temporary tokens have a limited lifespan, this makes it difficult to reliably upload large dumps directly to S3.<br />
<br />
It seems that MySQL Shell does not use AWS&#039;s official SDK, which would normally handle token renewal for IAM roles and temporary credentials automatically. Without SDK support, we&#039;re stuck with manual workarounds, which aren&#039;t ideal for long-running operations.<br />
<br />
Has anyone found a way to manage or refresh these tokens during a dumpInstance operation to S3? Or is there any chance that Oracle plans to integrate AWS SDK support to make S3 interactions more compatible with temporary tokens and IAM roles?<br />
<br />
Thanks in advance for any insights!]]></description>
            <dc:creator>Dmitry Shorokhov</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 07 Nov 2024 09:49:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,725030,725030#msg-725030</guid>
            <title>MySQL is updating my root password and I cannot change it anymore! (MacOS Sonoma) (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,725030,725030#msg-725030</link>
            <description><![CDATA[ I’m trying to install and setup MySQL on my Machine MacBook Pro M3 Max with Sonoma 14.5 OS but it is not being possible to login anymore. This issue starts to happen after I shutdown the computer and opened it on the next day. It is not being possible to login on MySQL anymore.<br />
<br />
When I run the the `mysql_secure_installation` command and try to setup a password, the following access denied error happens:<br />
<br />
```sh<br />
$ mysql_secure_installation<br />
<br />
Securing the MySQL server deployment.<br />
<br />
Enter password for user root: <br />
Error: Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: YES)<br />
```<br />
<br />
I’ve tried to change the password for the root user by executing `sudo mysqld_safe --skip-grant-tables `, but it says that a `mysqld` process already exists.<br />
<br />
<br />
```sh<br />
$ sudo mysqld_safe --skip-grant-tables<br />
<br />
2024-07-04T17:57:49.6NZ mysqld_safe Logging to &#039;/opt/homebrew/var/mysql/Victors-MacBook-Pro.local.err&#039;.<br />
2024-07-04T17:57:49.6NZ mysqld_safe A mysqld process already exists<br />
```<br />
<br />
↳  This error is happening even after I kill all of the `mysqld`/`mysql` processes with `sudo kill -9` or `sudo pkill -9 mysqld` or  `sudo killall -9 mysqld` or `sudo killall -9 mysqld_safe` or listing all the processes with `ps aux | grep mysql` and killing each one of them manually via `sudo kill -9 &lt;process_id&gt;`.<br />
<br />
So, in the end, I can’t use MySQL at all on my machine. Could someone knows what is the solution or help me with that?<br />
<br />
Thanks!<br />
Best regards,]]></description>
            <dc:creator>Victor Vitu</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 04 Jul 2024 20:15:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,725020,725020#msg-725020</guid>
            <title>MySQL Shell Syntax Error (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,725020,725020#msg-725020</link>
            <description><![CDATA[ Oracle Linux<br />
MySQL shell 8.0.35<br />
MySQL shell active (not js)<br />
<br />
When I run this command I get a syntax error.  Have run it before (on different instance). I studied the syntax and do not see a format issue.<br />
<br />
Any ideas?<br />
<br />
util.copyInstance(&#039;adminlogin@XXX.XXX.XXX.XXX&#039;,{dryRun:true, showProgress:true, updateGtidSet: &quot;append&quot;, loadIndexes:false, excludeUsers: [&quot;ocidbm&quot;], compatibility: [&quot;strip_restricted_grants&quot;, &quot;strip_definers&quot;, &quot;create_invisible_pks&quot; ]});<br />
<br />
<br />
Error is:<br />
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;util.copyInstance(&#039;adminlogin@XXX.XXX.XXX.XXXX&#039;,{dryRun:true, showProgress:tr&#039; at line 1<br />
<br />
Obfuscated the login and IP]]></description>
            <dc:creator>Brian Hiatt</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 03 Jul 2024 17:20:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,724889,724889#msg-724889</guid>
            <title>using mysqlsh migrate mysql from local instance to rds (1 reply)</title>
            <link>https://forums.mysql.com/read.php?178,724889,724889#msg-724889</link>
            <description><![CDATA[ old version:5.7.35<br />
rds version:5.7.38<br />
<br />
i use util.dumpSchemas to backup local schema ,then i load backup use bellow command  util.loadDump(&quot;/mydumper/backup/dw&quot;,{schema:&#039;dw_test&#039;,threads:8,&#039;ignoreVersion&#039;:&#039;True&#039;<br />
<br />
but i got this &quot;<br />
<br />
Target is MySQL 5.7.38-230101-log. Dump was produced from MySQL 5.7.35-log<br />
ERROR: [Worker006]: Query returned fewer rows than expected<br />
ERROR: [Worker002]: Query returned fewer rows than expected<br />
Checking for pre-existing objects...<br />
ERROR: [Worker007]: Query returned fewer rows than expected<br />
ERROR: [Worker004]: Query returned fewer rows than expected<br />
ERROR: [Worker005]: Query returned fewer rows than expected<br />
ERROR: [Worker000]: Query returned fewer rows than expected<br />
ERROR: [Worker003]: Query returned fewer rows than expected<br />
Executing common preamble SQL<br />
ERROR: [Worker001]: Query returned fewer rows than expected<br />
No data loaded.<br />
Total duration: 0 sec<br />
8 errors and 0 warnings were reported during the load.&quot;<br />
<br />
what does this mean &quot; Query returned fewer rows than expected&quot;,how can I get more detail about this?]]></description>
            <dc:creator>CHEN XU</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Sat, 22 Jun 2024 00:00:45 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,724871,724871#msg-724871</guid>
            <title>Backup to Minio (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,724871,724871#msg-724871</link>
            <description><![CDATA[ Trying to take a backup of MySQL to a self hosted Minio server. Enabled SSL on Minio server with self signed certificate.<br />
<br />
mysqlsh command<br />
util.dumpInstance(&quot;repo3&quot;,{s3BucketName: &quot;mysql-bucket&quot;, s3EndpointOverride: &quot;<a href="https://10.1.1.1:9000&quot;,s3CredentialsFile:&quot;/mysqlsh/.aws/credentials&quot;,s3ConfigFile:&quot;/mysqlsh/.aws/config&quot;,s3Profile"  rel="nofollow">https://10.1.1.1:9000&quot;,s3CredentialsFile:&quot;/mysqlsh/.aws/credentials&quot;,s3ConfigFile:&quot;/mysqlsh/.aws/config&quot;,s3Profile</a>: &quot;default&quot;, threads: 4})<br />
<br />
error<br />
Util.dumpInstance: SSL certificate problem: self signed certificate (CURLcode = 60) (RuntimeError)<br />
<br />
Tried setting ca_bundle in .aws/config file and also AWS_CA_BUNDLE and is not helping. Any suggestions on how to overcome this certificate problem?]]></description>
            <dc:creator>Mahesh Doraiswamy</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 20 Jun 2024 11:41:12 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,724855,724855#msg-724855</guid>
            <title>MySQL Shell Scripting (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,724855,724855#msg-724855</link>
            <description><![CDATA[ Hi Guys<br />
<br />
Background - I took over from my predecessor two years and have been using his python scripts and writing bash scripts to perform specific tasks on our DB&#039;s such as DB refreshes, creation of db users, etc.<br />
<br />
We are now upgrading to MySQL 8.0.37 Replicasets and then to InnoDB Clustersets, so I want to learn MySQL Shell, and at the same time, I would like to enforce some consistency.  We are also looking at modularising our scripts so that they can be called individually to do stuff like stop and start the DBs to make automating tasks easier.<br />
<br />
So, while there is obviously more than one way to skin a cat, am I wondering if I am torturing myself for no reason for trying to script everything in javascript for use with MySQL Shell?<br />
<br />
Is that what you folks would do, or would you instead create scripts using other languages (bash, etc) and call MySQL Shell from those?<br />
<br />
Finally, are there any resources/tutorials that are helpful for scripting in MySQL Shell, as my Google results always return the wrong results due to the preponderance of articles about MySQL, Shell and Scripting that is not MySQL Shell Scripting!<br />
<br />
Thanks in advance!]]></description>
            <dc:creator>Simon Tann</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 19 Jun 2024 09:31:36 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,723694,723694#msg-723694</guid>
            <title>Problema al conectar a MySQL desde la consola: Error 2002 (HY000) (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,723694,723694#msg-723694</link>
            <description><![CDATA[ Título del tema: Problema al conectar a MySQL desde la consola: Error 2002 (HY000)<br />
<br />
Descripción del problema:<br />
Hola a todos,<br />
<br />
Recientemente he tenido dificultades para conectarme a mi servidor MySQL desde la consola en mi sistema Ubuntu. Anteriormente, podía conectarme sin problemas, pero ahora estoy recibiendo un error que dice:<br />
ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/tmp/mysql.sock&#039; (2)<br />
<br />
Contexto:<br />
<br />
Estoy utilizando Ubuntu como sistema operativo.<br />
Tengo instalado MySQL Community Server versión 8.0.36.<br />
No he realizado cambios significativos en la configuración de MySQL recientemente.<br />
Puedo conectarme a MySQL sin problemas utilizando herramientas como MySQL Workbench y phpMyAdmin.<br />
He verificado que el servidor MySQL esté en ejecución y que la configuración del socket en el archivo mysqld.cnf esté configurada correctamente.<br />
He reiniciado el servicio MySQL, pero el problema persiste.<br />
Información adicional:<br />
<br />
Ejecutar sudo netstat -lnp | grep mysql muestra que MySQL está escuchando en el puerto 3306 y en la dirección localhost.<br />
Ejecutar ls -la /tmp/mysql.sock muestra que el archivo de socket /tmp/mysql.sock no está presente en la ubicación esperada.<br />
He revisado la configuración del cliente MySQL y parece estar configurada correctamente.<br />
Acciones realizadas hasta ahora:<br />
<br />
He verificado la configuración de MySQL tanto del servidor como del cliente.<br />
He intentado reiniciar el servicio MySQL.<br />
He revisado los permisos del directorio /tmp/ y /var/run/mysqld/.<br />
He investigado otros posibles problemas en los registros de errores de MySQL.<br />
Solicitud de ayuda:<br />
Agradecería cualquier sugerencia o consejo sobre cómo solucionar este problema y restaurar la capacidad de conectarme a MySQL desde la consola. ¿Hay algo más que deba investigar o intentar para resolver este problema?<br />
<br />
¡Gracias por su ayuda!]]></description>
            <dc:creator>Luis espinoza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Fri, 12 Apr 2024 16:56:33 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,723584,723584#msg-723584</guid>
            <title>MySQL Upgrade Checker issue (2 replies)</title>
            <link>https://forums.mysql.com/read.php?178,723584,723584#msg-723584</link>
            <description><![CDATA[ I&#039;m getting a lot of spurious warnings in using the migration checker on my 5.7 DB (moving up to 8.3)... Here is just one example;<br />
<br />
mydb.quotedJobs.jobCreated - column has zero default value: 0000-00-00<br />
    00:00:00<br />
<br />
| quotedJobs | CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `quotedJobs` AS select `quotes`.`job` AS `jobId`,`quotes`.`created` AS `quoteCreated` on((`quotes`.`provider` = `providers`.`id`))) left join `providerRatings` on((`quotes`.`provider` = `providerRatings`.`providerId`))) | utf8mb4              | utf8mb4_general_ci   |<br />
<br />
The problematic field originates from the `jobs` table (also reduced for simplicity);<br />
<br />
| jobs  | CREATE TABLE `jobs` (<br />
  `id` int(11) NOT NULL AUTO_INCREMENT,<br />
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br />
  `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,<br />
  PRIMARY KEY (`id`),<br />
  KEY `createdNdx` (`created`) USING BTREE,<br />
) ENGINE=InnoDB AUTO_INCREMENT=2891 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC |<br />
<br />
There doesn’t seem to be any risk of a zero-date being created, given the USE of DEFAULT. I can also confirm there is not a single zero-date in the entire DB… however the checker still hundreds of these warnings.<br />
<br />
Is this a bug, or is it expected behaviour? Presumably, I can simply ignore them, as I don&#039;t see there being any risk of a zero date ever being entered, unless by an intentionally and deliberate INSERT by a dev.<br />
<br />
I&#039;d prefer to reduce my warnings to zero, if possible, but I don&#039;t see how in this particular instance.<br />
<br />
Thanks for any help in this matter. N]]></description>
            <dc:creator>Nick Gill</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Fri, 17 May 2024 11:06:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,723343,723343#msg-723343</guid>
            <title>any environment like MYSQL_UNIX_PORT to specify socket path (1 reply)</title>
            <link>https://forums.mysql.com/read.php?178,723343,723343#msg-723343</link>
            <description><![CDATA[ the path of my socket is customed, not in the default path, when I connect to database via localhost, I wish have a environment like MYSQL_UNIX_PORT to specify socket location]]></description>
            <dc:creator>Bing Ma</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 20 Mar 2024 07:55:22 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,723266,723266#msg-723266</guid>
            <title>Newly installed MySQL Shell on win 11 (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,723266,723266#msg-723266</link>
            <description><![CDATA[ I just installed MySQL 8.3 on my brand new Win 11 computer. I then installed the shell. I entered it with mysqlsh on command line. It prompted me with MySQL JS&gt;<br />
Now what? It would not accept any commands. I presume I need to connect with password or something. I tried connect and session, but it did not like those commands either. What should I do to get started?<br />
<br />
On my older win 8.1 computer I interfaced quite nicely with HeidiSQL, but I thought I would try the shell this time. Or should I install HeidiSQL or some other interface?]]></description>
            <dc:creator>Jon Jacobs</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Tue, 12 Mar 2024 01:12:54 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,710279,710279#msg-710279</guid>
            <title>how to backup to minio (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,710279,710279#msg-710279</link>
            <description><![CDATA[ when use utils.dumpInstance(), may I backup to minio?]]></description>
            <dc:creator>Bing Ma</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Tue, 24 Oct 2023 09:28:05 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,710228,710228#msg-710228</guid>
            <title>Mysql Router services not start automatically (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,710228,710228#msg-710228</link>
            <description><![CDATA[ Hi All,<br />
<br />
I have an issue with getting Bootstrap for MySQL router to work properly after rebooting the host.<br />
every time I restart my computer I have to run ./start.sh file to get mysql router service working.<br />
Any idea, how to fix that?.<br />
My file is located in /usr/share/joyrouter/]]></description>
            <dc:creator>sabah sawor</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 19 Oct 2023 02:49:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,710131,710131#msg-710131</guid>
            <title>Syslog Messages (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,710131,710131#msg-710131</link>
            <description><![CDATA[ With SYSLOG integration we can view the QUERY from client side, however we do not see the response code in the log, for instance, if a incorrect SQL query is run a MYSQL error is printed to the console , however there is nothing in the syslog message to indicate if the query errored out or successful , is there any way to capture the response code in the message ?]]></description>
            <dc:creator>Srinivas K</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Sun, 08 Oct 2023 05:07:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,710077,710077#msg-710077</guid>
            <title>Building mysql-shell antlr4 runtime issue (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,710077,710077#msg-710077</link>
            <description><![CDATA[ HI All,<br />
<br />
Building mysql-shell, I get the error below. Issue is, I&#039;m including the runtime dir, but it still doesn&#039;t seem to work. To get the runtime dir, I am building antlr4 which puts its runtime dir at ~/antlr4/runtime.<br />
<br />
Setting antlr4-runtime_DIR like below still yields the error (I&#039;ve tried both absolute path and relative path).<br />
<br />
Not sure what I&#039;m doing wrong. I&#039;ve also tried package installs of antlr4.<br />
<br />
<br />
cmake antlr4-runtime_DIR=~/antlr4/runtime .. -DMYSQL_SOURCE_DIR=/home/ubuntu/mysql-server -DMYSQL_BUILD_DIR=/home/ubuntu/mysql-server/bld -DPACKAGE_YEAR=2023 -DHAVE_PYTHON=1 -DCMAKE_CXX_FLAGS=&quot;-Wno-error=maybe-uninitialized&quot; -DCMAKE_C_FLAGS=&quot;-Wno-error=maybe-uninitialized&quot;<br />
<br />
<br />
```<br />
CMake Error at CMakeLists.txt:628 (find_package):<br />
  By not providing &quot;Findantlr4-runtime.cmake&quot; in CMAKE_MODULE_PATH this<br />
  project has asked CMake to find a package configuration file provided by<br />
  &quot;antlr4-runtime&quot;, but CMake did not find one.<br />
<br />
  Could not find a package configuration file provided by &quot;antlr4-runtime&quot;<br />
  with any of the following names:<br />
<br />
    antlr4-runtimeConfig.cmake<br />
    antlr4-runtime-config.cmake<br />
<br />
  Add the installation prefix of &quot;antlr4-runtime&quot; to CMAKE_PREFIX_PATH or set<br />
  &quot;antlr4-runtime_DIR&quot; to a directory containing one of the above files.  If<br />
  &quot;antlr4-runtime&quot; provides a separate development package or SDK, be sure it<br />
  has been installed.<br />
<br />
```]]></description>
            <dc:creator>Julio Suarez</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Fri, 29 Sep 2023 21:16:24 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,710066,710066#msg-710066</guid>
            <title>How to copy a MySQL instance ? (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,710066,710066#msg-710066</link>
            <description><![CDATA[ How to copy a MySQL instance ?<br />
- <a href="https://blogs.oracle.com/mysql/post/how-to-copy-a-mysql-instance"  rel="nofollow">https://blogs.oracle.com/mysql/post/how-to-copy-a-mysql-instance</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 28 Sep 2023 22:24:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,709951,709951#msg-709951</guid>
            <title>Custom Log (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,709951,709951#msg-709951</link>
            <description><![CDATA[ We are able to log the SQL queries, however we would like to customize the Log so that the OS User ID will be appended to the log message<br />
<br />
for instance the current SQL log output <br />
<br />
2023-09-14 03:12:25: Info: sql: tid=2736669664: SQL: select * from cust_master limit 2 <br />
<br />
If we have way to include the OS User ,in the log it will be great for auditing<br />
<br />
2023-09-14 03:12:25: User: ${USER} Info: sql: tid=2736669664: SQL: select * from cust_master limit 2 <br />
<br />
The ${USER} is the os env system User , any thoughts on this ?]]></description>
            <dc:creator>Srinivas K</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 14 Sep 2023 03:25:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,709851,709851#msg-709851</guid>
            <title>ERROR: 3948: Loading local data is disabled (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,709851,709851#msg-709851</link>
            <description><![CDATA[ Hi all,<br />
<br />
I have looked all over the internet, in numerus forums and followed all kinds of suggestions, but I&#039;m still stuck. I keep on getting the same message:<br />
<br />
ERROR: 3948: Loading local data is disabled; this must be enabled on both the client and server sides<br />
<br />
I&#039;ve done: SET GLOBAL local_infile=1;<br />
<br />
Then:SHOW GLOBAL VARIABLES LIKE &#039;local_infile&#039;;<br />
<br />
I get:<br />
<br />
+---------------+-------+<br />
| Variable_name | Value |<br />
+---------------+-------+<br />
| local_infile  | ON    |<br />
+---------------+-------+<br />
<br />
Then after having reconnected to the server I get:<br />
<br />
ERROR: 3948: Loading local data is disabled; this must be enabled on both the client and server sides<br />
<br />
I think I&#039;m going nuts on this issue...<br />
<br />
Most of you guys have seen this and left it behind you, but maybe you recall something that might help me out of this spot.<br />
<br />
By the way here is the sql-line I&#039;ve tried to use when loading data from a txt file :-)<br />
<br />
LOAD DATA LOCAL INFILE &#039;/Users/kenne/OneDrive/Skrivbord/ArtikelDB.txt&#039; INTO TABLE dehouse;<br />
<br />
Thanks!]]></description>
            <dc:creator>Kennet Hafstedt</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Sun, 27 Aug 2023 19:22:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,709771,709771#msg-709771</guid>
            <title>a question about bulk importing .sql files (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,709771,709771#msg-709771</link>
            <description><![CDATA[ I have serveral .sql files,i want to use mysqlshell to bulk import those .sql files into mysql，so i first connect root@localhost:3306,then i use the command:&quot;\source C:\sip\main.sql&quot; to import,but mysqlshell shows:&quot;syntaxerror unexpected identifier ‘C’&quot;,the main.sql file consist of many lines like&quot;source C:\sip\001.sql&quot;,&quot;source C:\sip\002.sql&quot; and so on.mysqlshell‘s version is 8.0.34，mysql&#039;s version is 5.7.43.0.<br />
what is the problem?how to solve it?thank you.]]></description>
            <dc:creator>xie xie</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Tue, 15 Aug 2023 05:51:46 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,709697,709697#msg-709697</guid>
            <title>inability to configure instance or adopt existing async replication (1 reply)</title>
            <link>https://forums.mysql.com/read.php?178,709697,709697#msg-709697</link>
            <description><![CDATA[ I have 3 machines, let&#039;s call them Primary, Secondary 1 and Secondary 2.  The Primary and Secondary 1 have an existing asynchronous replication that was set up manually that is already in production.  Initially I was going to create a new replication from Primary to Secondary 2 using mysqlsh and InnoDB ReplicaSet, and leave the existing replication from Primary to Secondary 1 as is.<br />
<br />
After installing mysql-shell and mysql-router to Primary and Secondary 2 from the MySQL repository, on the Primary I established a connection and attempted to configure the instance using the template:<br />
<br />
dba.configureReplicaSetInstance(&#039;root@rs-1:3306&#039;, {clusterAdmin: &quot;&#039;rsadmin&#039;@&#039;rs-1%&#039;&quot;});<br />
<br />
I got the below error message:<br />
<br />
&lt;&lt;<br />
Dba.configureReplicaSetInstance: This function is not available through a session to an instance belonging to an unmanaged asynchronous replication topology (RuntimeError)<br />
&gt;&gt;<br />
<br />
I thought, fair enough, I do have an existing replication set up, and therefore a managed and unmanaged replication topology cannot coexist.  So logically, I thought I needed to bit the bullet and adopt the existing topology first.<br />
<br />
So, I installed mysql-shell and mysql-router as well on Secondary 1 as well.  I went back to Primary and connected to the instance using mysqlsh and issued the command from the template:<br />
<br />
&lt;&lt;<br />
A new replicaset with the topology visible from &#039;&lt;primary&gt;:3306&#039; will be created.<br />
<br />
* Scanning replication topology...<br />
** Scanning state of instance &lt;primary&gt;:3306<br />
<br />
* Discovering async replication topology starting with db5:3306<br />
Discovered topology:<br />
- &lt;primary&gt;:3306: uuid=&lt;some_UUID_number&gt; read_only=no<br />
<br />
* Checking configuration of discovered instances...<br />
<br />
This instance reports its own address as &lt;primary&gt;:3306<br />
&lt;primary&gt;:3306: Instance configuration is suitable.<br />
<br />
* Checking discovered replication topology...<br />
Dba.createReplicaSet: Target server is not part of an async replication topology (MYSQLSH 51151)<br />
&gt;&gt;<br />
<br />
I guess my observation is that Primary is either part of an async replication topology, or it isn&#039;t!  I&#039;m at a loss of what to do next.  I&#039;d be grateful if anyone can point me in the right direction.]]></description>
            <dc:creator>Ivan Cauchi</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Mon, 07 Aug 2023 06:15:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,709170,709170#msg-709170</guid>
            <title>Vulnerabilities on python packages (5 replies)</title>
            <link>https://forums.mysql.com/read.php?178,709170,709170#msg-709170</link>
            <description><![CDATA[ Hi team,<br />
<br />
Running a vulnerabilities scan on the latest mysql-shell release for linux, mysql-shell-8.0.33-linux-glibc2.12-x86-64bit.tar.gz, returned a few CVEs related to a couple of python packages: cryptography (CVE-2023-0286, CVE-2023-23931, and GHSA-5cpq-8wj7-hf2v) and setuptools (CVE-2022-40897).<br />
<br />
These 2 python packages are included as libs in the release and I understand they should be considered as fixed requirements. That said, could you confirm whether mysql-shell is indeed affected by the related vulnerabilities and if so, are there any plans to update the related dependencies?<br />
<br />
Thanks for your time!]]></description>
            <dc:creator>Francisco de Paz</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Fri, 26 Jan 2024 15:20:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,708889,708889#msg-708889</guid>
            <title>MySQL Shell 8.0.33:  InnoDB ReplicaSet/Cluster/ClusterSet (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,708889,708889#msg-708889</link>
            <description><![CDATA[ MySQL Shell 8.0.33:  InnoDB ReplicaSet/Cluster/ClusterSet<br />
<br />
<a href="https://blogs.oracle.com/mysql/post/announcing-mysql-shell-8033"  rel="nofollow">https://blogs.oracle.com/mysql/post/announcing-mysql-shell-8033</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Thu, 27 Apr 2023 02:39:14 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,707580,707580#msg-707580</guid>
            <title>mysqlsh parallel import error (5 replies)</title>
            <link>https://forums.mysql.com/read.php?178,707580,707580#msg-707580</link>
            <description><![CDATA[ ~ % cat test3.csv<br />
0,0,0,&quot;run_intf_filter is handling Data Source ID 15.&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;No records to filter for 15!&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;run_intf_filter is handling Data Source ID 17.&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;No records to filter for 17!&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;run_intf_filter is handling Data Source ID 21.&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;Calling INTF_FILTER.process_cddb2_interface()...&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;run_intf_filter is handling Data Source ID 23.&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;Calling INTF_FILTER.process_cddb2_interface()...&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;run_intf_filter is handling Data Source ID 47.&quot;,2023-01-25 02:32:38<br />
0,0,0,&quot;No records to filter for 47!&quot;,2023-01-25 02:32:38<br />
<br />
<br />
mysqlsh --uri=mysql://root:xxxx@localhost:3306 -- util import-table test3.csv --schema=test table=sanjay_test1 --linesTerminatedBy=&quot;\n&quot;  --fieldsTerminatedBy=&quot;,&quot;<br />
<br />
WARNING: Using a password on the command line interface can be insecure.<br />
ERROR: Argument options: Separators cannot be the same or be a prefix of another.<br />
<br />
<br />
Any idea why mysqlsh is giving error ? I have tried various combinations and unable to figure out correct syntax .<br />
<br />
This works fine from mysql command line....<br />
<br />
LOAD DATA INFILE &#039;/Users/sagupta/test3.csv&#039; <br />
INTO TABLE sanjay_test <br />
FIELDS TERMINATED BY &#039;,&#039; <br />
ENCLOSED BY &#039;&quot;&#039;<br />
LINES TERMINATED BY &#039;\n&#039;<br />
IGNORE 1 ROWS;]]></description>
            <dc:creator>Sanjay Gupta</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 01 Mar 2023 22:11:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,707507,707507#msg-707507</guid>
            <title>Introducing the MySQL REST Service (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,707507,707507#msg-707507</link>
            <description><![CDATA[ Introducing the MySQL REST Service:<br />
- <a href="https://blogs.oracle.com/mysql/post/introducing-the-mysql-rest-service"  rel="nofollow">https://blogs.oracle.com/mysql/post/introducing-the-mysql-rest-service</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 15 Feb 2023 22:38:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,707185,707185#msg-707185</guid>
            <title>Mysqlsh encoding output (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,707185,707185#msg-707185</link>
            <description><![CDATA[ Hello,<br />
<br />
I&#039;m working with 8.0.23-commercial for Linux on x86_64.<br />
<br />
I work with a database containing tables that use the latin1 CHARACTER SET. This causes queries&#039; output to be strangely encoded, specifically non ASCII characters (i.e. &#039;é&#039;).<br />
<br />
Consider the following example :<br />
<br />
<br />
CREATE TABLE `my_test_table` (  `idx_table` bigint(10) unsigned NOT NULL,`myColumn` enum(&#039;autorisé&#039;,&#039;bloqué&#039;) DEFAULT NULL,  PRIMARY KEY (`idx_table`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT=&#039;My comment contains é à and other non ASCII characters&#039;;<br />
<br />
If I insert into this table via mysqlsh :<br />
INSERT INTO my_test_table VALUES(0,&#039;autorisé&#039;);<br />
it works as expected.<br />
<br />
However while using any data already inserted in my database : <br />
INSERT INTO my_test_table SELECT idx_old_table, old_column from old_table limit 1;<br />
I get &quot;Warning (code 1265): Data truncated for column &#039;myColumn&#039; at row 1&quot;<br />
<br />
The same goes for reading data already inserted in to already existing tables : <br />
SELECT idx_old_table, old_column FROM old_table;<br />
would ouptu something like this :<br />
{<br />
    &quot;idx_old_table&quot;: 421879389,<br />
    &quot;old_column&quot;: &quot;autoris▒e&quot;<br />
}<br />
<br />
How can I go about working with a database like this with mysqlsh command prompt? Why does mysqlsh encodes differently both latin1 character sets? <br />
<br />
Addendum, I tried hexing the output of my old table and then rencoding the result as latin1 and it does give me an accented correct version, so the data in my table is correct.<br />
<br />
PS: does this forum use any syntax hilighting supporting format?]]></description>
            <dc:creator>Luis Mendoza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 11 Jan 2023 09:21:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,707041,707041#msg-707041</guid>
            <title>MySQL 8.0: How to display long transactions (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,707041,707041#msg-707041</link>
            <description><![CDATA[ <a href="https://blogs.oracle.com/mysql/post/mysql-80-how-to-display-long-transactions"  rel="nofollow">https://blogs.oracle.com/mysql/post/mysql-80-how-to-display-long-transactions</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Tue, 20 Dec 2022 17:04:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,706946,706946#msg-706946</guid>
            <title>How to dissolve an existed ClusterSet ? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?178,706946,706946#msg-706946</link>
            <description><![CDATA[ Hi ,<br />
  How to dissolve a ClusterSet ? I&#039;ve searched all the document named 《MySQL Shell API 8.0.31》(https://dev.mysql.com/doc/dev/mysqlsh-api-javascript/8.0/classmysqlsh_1_1dba_1_1_dba.html), but found nothing. Is it not support yet ?]]></description>
            <dc:creator>Dee Wu</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Wed, 14 Dec 2022 03:20:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,706945,706945#msg-706945</guid>
            <title>How to dissolve a ClusterSet ? (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,706945,706945#msg-706945</link>
            <description><![CDATA[ Hi ,<br />
  How to dissolve a ClusterSet ? I have searched all the 《MySQL Shell API 8.0.31》(https://dev.mysql.com/doc/dev/mysqlsh-api-javascript/8.0/), but I haven&#039;t found the    Methods to do this. Is it not supported right now ?]]></description>
            <dc:creator>Dee Wu</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Sat, 10 Dec 2022 00:31:22 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?178,706687,706687#msg-706687</guid>
            <title>Generating Slow Query Log with MySQL Shell (no replies)</title>
            <link>https://forums.mysql.com/read.php?178,706687,706687#msg-706687</link>
            <description><![CDATA[ Generating Slow Query Log with MySQL Shell<br />
- <a href="https://lefred.be/content/generating-slow-query-log-with-mysql-shell/"  rel="nofollow">https://lefred.be/content/generating-slow-query-log-with-mysql-shell/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>MySQL Shell</category>
            <pubDate>Mon, 07 Nov 2022 19:40:10 +0000</pubDate>
        </item>
    </channel>
</rss>
