fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#mysqlshell

0 posts0 participants0 posts today
Martin<p><a href="https://blog.martinscloud.com/mariadb-mysql-migrate-from-mariadb-to-mysql-using-mysql-shell/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.martinscloud.com/mariadb-</span><span class="invisible">mysql-migrate-from-mariadb-to-mysql-using-mysql-shell/</span></a> <a href="https://dresden.network/tags/oracle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oracle</span></a> <a href="https://dresden.network/tags/mysql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysql</span></a> <a href="https://dresden.network/tags/mariadb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mariadb</span></a> <a href="https://dresden.network/tags/migration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>migration</span></a> <a href="https://dresden.network/tags/mysqlshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysqlshell</span></a> <a href="https://dresden.network/tags/mysql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysql</span></a>-shell <a href="https://dresden.network/tags/mysql_shell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysql_shell</span></a></p>
shaun<p>Huh, the latest version of mysql-shell (8.0.41) drops a /usr/lib/mysqlsh/libpolyglot.so that's 175MB.</p><p>Not much documentation out there about "libpolyglot.so" but from what I gather it's part of GraalVM, which compiles Java to native binaries. Now mysqlsh is a 30MB binary + 175MB of library. Leave it to Oracle... <a href="https://mastodon.xyz/tags/mysql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysql</span></a> <a href="https://mastodon.xyz/tags/mysqlshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mysqlshell</span></a> <a href="https://mastodon.xyz/tags/libpolyglot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libpolyglot</span></a></p>
lefred<p>MySQL Error Log: Got packets out of order<br />Some users, myself included, have noticed that their MySQL error log contains many lines like this one:</p><p>2024-09-06T09:28:40.522161Z 17 [Note] [MY-010914] [Server] Got packets out of order</p><p>Where does that error come from?</p><p>The error MY-010914 is part of the Server Network issues like:</p><p>Aborted connection XX to db: ...</p><p>Bad handshake</p><p>Got <br /><a href="https://lefred.be/content/mysql-error-log-got-packets-out-of-order/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/mysql-error-</span><span class="invisible">log-got-packets-out-of-order/</span></a><br />#80 #90 <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a></p>
MySQL Community<p>Do you think creating an InnoDB replica set with MySQL is difficult?</p><p>What if we told you you can perform that task with as few as two commands with MySQL Shell?</p><p>Check out @boyzoid &#39;s latest blog post to learn how.</p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a> <a href="https://fosstodon.org/tags/innodb" class="mention hashtag" rel="tag">#<span>innodb</span></a><br /><a href="https://blogs.oracle.com/mysql/post/create-an-innodb-replica-set-with-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/cr</span><span class="invisible">eate-an-innodb-replica-set-with-mysql-shell</span></a></p>
MySQL Community<p>Now that Scott showed you some advanced options for dumping data with MySQL<br />Shell, it&#39;s time to talk about some options that make loading data quicker and easier.</p><p>Check out this blog post for the details.</p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a></p><p><a href="https://blogs.oracle.com/mysql/post/advanced-data-load-with-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/ad</span><span class="invisible">vanced-data-load-with-mysql-shell</span></a></p>
MySQL Community<p>We can use MySQL Shell as part of a scripted process to perform tasks such as dumping/loading data.</p><p>Scott&#39;s latest blog post demonstrates how to accomplish this and gives some examples of the slightly different syntax for doing so.</p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a></p><p><a href="https://blogs.oracle.com/mysql/post/mysql-shell-cli-integration" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/my</span><span class="invisible">sql-shell-cli-integration</span></a></p>
MySQL Community<p>One of the most favorite (and most used) features of MySQL Shell is the ability to easily dump tables, schemas, or an entire instance in a single command.</p><p>In this blog post, Scott discusses some options we can use to make this process quicker and easier.<br /><a href="https://blogs.oracle.com/mysql/post/advanced-data-dump-with-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/ad</span><span class="invisible">vanced-data-dump-with-mysql-shell</span></a></p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a> <a href="https://fosstodon.org/tags/MySQLCommunity" class="mention hashtag" rel="tag">#<span>MySQLCommunity</span></a></p>
MySQL Community<p>If someone told you that you can learn to create an InnoDB replica set using MySQL Shell in about 3 minutes, you would think he was daft, wouldn&#39;t you?</p><p>Well...there&#39;s a MySQL Short for that!</p><p><a href="https://www.youtube.com/watch?v=hGsI_vkIfmY&amp;list=PLWx5a9Tn2EvG4C90YFJ9eU61IpALeE0SN&amp;index=68" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=hGsI_vkIfm</span><span class="invisible">Y&amp;list=PLWx5a9Tn2EvG4C90YFJ9eU61IpALeE0SN&amp;index=68</span></a></p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a> <a href="https://fosstodon.org/tags/replication" class="mention hashtag" rel="tag">#<span>replication</span></a></p>
MySQL Community<p>MySQL Shell is a powerful tool to we can use to manage MySQL instances. Remembering the syntax and options for all the features can be difficult. Thankfully, MYSQL Shell has a comprehensive help system.</p><p>Check out at:<br /><a href="https://blogs.oracle.com/mysql/post/getting-help-in-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/ge</span><span class="invisible">tting-help-in-mysql-shell</span></a><br /><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a></p>
MySQL Community<p>Did you know you can run system commands inside of MySQL<br />Shell? This feature is a hidden gem that has become part of my normal workflow.</p><p>Check out this blog post for more information.<br /><a href="https://blogs.oracle.com/mysql/post/executing-system-commands-in-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/ex</span><span class="invisible">ecuting-system-commands-in-mysql-shell</span></a></p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a></p>
MySQL Community<p>In a new blog series, Scott is going to highlight some &quot;hidden gems&quot; in MySQL Shell.</p><p>The first post demonstrates running external JavaScript, Python, and SQL scripts inside MySQL Shell.</p><p><a href="https://blogs.oracle.com/mysql/post/running-external-scripts-in-mysql-shell" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blogs.oracle.com/mysql/post/ru</span><span class="invisible">nning-external-scripts-in-mysql-shell</span></a></p><p><a href="https://fosstodon.org/tags/mysql" class="mention hashtag" rel="tag">#<span>mysql</span></a> <a href="https://fosstodon.org/tags/mysqlshell" class="mention hashtag" rel="tag">#<span>mysqlshell</span></a> <a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="tag">#<span>javascript</span></a> <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://fosstodon.org/tags/sql" class="mention hashtag" rel="tag">#<span>sql</span></a></p>
lefred<p>MySQL Shell for VS Code – Bastion Host &amp; Invalid fingerprint detected<br />If you use MySQL Shell for Visual Studio Code, using a bastion host is the easiest method to connect to a MySQL HeatWave DB Instance on OCI.</p><p>If you already have a connection setup using a bastion to host, you may experience the same problem as me, MySQL Shell complains about a<br /><a href="https://lefred.be/content/mysql-shell-for-vs-code-bastion-host-invalid-fingerprint-detected/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/mysql-shell-</span><span class="invisible">for-vs-code-bastion-host-invalid-fingerprint-detected/</span></a><br /><a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a></p>
lefred<p>WordPress in OCI with MySQL HeatWave Read Replicas and MySQL Router R/W Splitting<br />Some time ago, we saw how we could deploy WordPress on OCI using MySQL HeatWave Database Service with Read Replicas. We had to modify WordPress to use a specific plugin that configures the Read/Write Splitting on the applica<br /><a href="https://lefred.be/content/wordpress-in-oci-with-mysql-heatwave-read-replicas-and-mysql-router-r-w-splitting/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/wordpress-in</span><span class="invisible">-oci-with-mysql-heatwave-read-replicas-and-mysql-router-r-w-splitting/</span></a><br />#80 #82 <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a> <a href="https://fosstodon.org/tags/Replication" class="mention hashtag" rel="tag">#<span>Replication</span></a> <a href="https://fosstodon.org/tags/Router" class="mention hashtag" rel="tag">#<span>Router</span></a> <a href="https://fosstodon.org/tags/wordpress" class="mention hashtag" rel="tag">#<span>wordpress</span></a></p>
lefred<p>Migrate from MariaDB to MySQL HeatWave: easier with MySQL Shell 8.2.1<br />I won&#39;t cover reasons why you should migrate from MariaDB to MySQL, I already covered the topic in previous blogs and webinars:</p><p>How to Migrate from MariaDB to MySQL HeatWave</p><p>How to Migrate from MariaDB to MySQL 8.0</p><p>Migrating from MariaDB to MySQL using MySQL Sh<br /><a href="https://lefred.be/content/migrate-from-mariadb-to-mysql-heatwave-easier-with-mysql-shell-8-2-1/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/migrate-from</span><span class="invisible">-mariadb-to-mysql-heatwave-easier-with-mysql-shell-8-2-1/</span></a><br />#80 #82 <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a></p>
lefred<p>MySQL Shell AdminAPI: different ways to call the commands… same effect?<br />During last Ubuntu Summit in Riga, I got an interesting question from Alex Lutay, engineering manager at Canonical regarding the different ways to perform some Admin API commands in MySQL Shell.</p><p>He wanted to know why, in the manual and blogs, we always use separate commands instead o<br /><a href="https://lefred.be/content/mysql-shell-adminapi-different-ways-to-call-the-commands-same-effect/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/mysql-shell-</span><span class="invisible">adminapi-different-ways-to-call-the-commands-same-effect/</span></a><br /><a href="https://fosstodon.org/tags/InnoDBCluster" class="mention hashtag" rel="tag">#<span>InnoDBCluster</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a></p>
lefred<p>Backup your MySQL instance in the Cloud<br />Since MySQL Shell 8.1, it&#39;s even easier to create a logical backup of your MySQL instance and store it directly in Object Storage, an internet-scale, high-performance storage platform in Oracle Cloud Infrastructure (OCI). </p><p>IMySQL Shell now offers the option of dumping to Object Storage Bucket using PAR (Pre-Authenticated Request<br /><a href="https://lefred.be/content/backup-your-mysql-instance-in-the-cloud/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/backup-your-</span><span class="invisible">mysql-instance-in-the-cloud/</span></a><br />#81 <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a></p>
lefred<p>How to copy a MySQL instance ?<br />To copy a MySQL server to another server or to the cloud, there are several ways.</p><p>We can distinguish between two different types of copy:</p><p>physical copy</p><p>logical copy</p><p>The physical copy is often the fastest. However, it requires some tools to ensure that you have a consistent online backup. For example, you can use MySQL Enterpris<br /><a href="https://lefred.be/content/how-to-copy-a-mysql-instance/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/how-to-copy-</span><span class="invisible">a-mysql-instance/</span></a><br />#80 #81 <a href="https://fosstodon.org/tags/CLONE" class="mention hashtag" rel="tag">#<span>CLONE</span></a> <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a></p>
lefred<p>Cut &amp; Paste a User Creation Statement with MySQL 8<br />Sometimes it&#39;s convenient to retrieve the user creation statement and to copy it to another server. </p><p>However, with the new authentication method used as default since MySQL 8.0, caching_sha2_password, this can become a nightmare as the output is binary and some bytes can be hidden or decoded differently de<br /><a href="https://lefred.be/content/cut-paste-a-user-creation-statement-with-mysql-8/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/cut-paste-a-</span><span class="invisible">user-creation-statement-with-mysql-8/</span></a><br />#80 #81 <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a></p>
lefred<p>How to Migrate from MariaDB to MySQL HeatWave<br />We see an increase in the demand for database migration from MariaDB to MySQL. This is likely due to recent news about MariaDB. [1][2][3][4][5][6][7][8]</p><p>In this article, we will show you how to migrate from MariaDB to MySQL HeatWave in Oracle Cloud Infrastructure (OCI).</p><p>If you plan to migrate from<br /><a href="https://lefred.be/content/how-to-migrate-from-mariadb-to-mysql-heatwave/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/how-to-migra</span><span class="invisible">te-from-mariadb-to-mysql-heatwave/</span></a><br />#80 <a href="https://fosstodon.org/tags/Cloud" class="mention hashtag" rel="tag">#<span>Cloud</span></a> <a href="https://fosstodon.org/tags/HeatWave" class="mention hashtag" rel="tag">#<span>HeatWave</span></a> <a href="https://fosstodon.org/tags/MDS" class="mention hashtag" rel="tag">#<span>MDS</span></a> <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQL80" class="mention hashtag" rel="tag">#<span>MySQL80</span></a> <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/OCI" class="mention hashtag" rel="tag">#<span>OCI</span></a> <a href="https://fosstodon.org/tags/rss" class="mention hashtag" rel="tag">#<span>rss</span></a></p>
lefred<p>Query and Transaction size in MySQL<br />Some times it&#39;s important to know the size of a transaction, especially when you plan to migrate to a HA solution where by default transactions have a limited size to guarantee an optimal behavior of the cluster.</p><p>Today we will see the different possibilities to have an idea of the size of transactions.</p><p>First we need to split the t<br /><a href="https://lefred.be/content/query-and-transaction-size-in-mysql/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">lefred.be/content/query-and-tr</span><span class="invisible">ansaction-size-in-mysql/</span></a><br />#8.0 <a href="https://fosstodon.org/tags/MySQL" class="mention hashtag" rel="tag">#<span>MySQL</span></a> <a href="https://fosstodon.org/tags/MySQL8" class="mention hashtag" rel="tag">#<span>MySQL8</span></a>.0 <a href="https://fosstodon.org/tags/MySQLShell" class="mention hashtag" rel="tag">#<span>MySQLShell</span></a> <a href="https://fosstodon.org/tags/Performance_Schema" class="mention hashtag" rel="tag">#<span>Performance_Schema</span></a></p>