Withdata Software

Producing high-quality database tools

Main menu

Skip to primary content
Skip to secondary content
  • Withdata
  • Blog
  • Categories
  • Tags
  • Tools

Tag Archives: Mysql

Post navigation

← Older posts
Newer posts →

Append CSV data to MySQL table via command line on MacOS

Posted on March 14, 2025 by Shiji Pan

Want to append the data from CSV file to the existing MySQL table via command line on MacOS? Using my-cmd, a Command-Line client for MySQL, you can append CSV/TSV/TXT data into existing MySQL (MariaDB, Percona) table easily and fast. Support Windows, Linux, and MacOS. Download my-cmd MacOS ... Read more

Posted in my-cmd | Tagged append, command line, CSV, macos, Mysql, MySQL append csv

Append CSV data to MySQL table via command line on Linux

Posted on March 14, 2025 by Shiji Pan

Want to append the data from CSV file to the existing MySQL table via command line on Linux (Ubuntu/RedHat/CentOS…)? Using my-cmd, a Command-Line client for MySQL, you can append CSV/TSV/TXT data into existing MySQL (MariaDB, Percona) table easily and fast. Support Windows, Linux, and ... Read more

Posted in my-cmd | Tagged append, command line, CSV, linux, Mysql, MySQL append csv

Append CSV data to MySQL table via command line on Windows

Posted on March 14, 2025 by Shiji Pan

Want to append the data from CSV file to the existing MySQL table via command line on Windows? Using my-cmd, a Command-Line client for MySQL, you can append CSV/TSV/TXT data into existing MySQL (MariaDB, Percona) table easily and fast. Support Windows, Linux, and MacOS. Download my-cmd ... Read more

Posted in my-cmd | Tagged append, command line, CSV, Mysql, MySQL append csv, windows

Upsert a row Into Mysql Table

Posted on March 13, 2018 by Shiji Pan

In Mysql, if you want to either updates or inserts a row in a table, depending if the table already has a row that matches the data, you can use “ON DUPLICATE KEY UPDATE”. INSERT INTO employees(id, name, hire_date ) VALUES (1, 'John', '2016-11-29' ) ON DUPLICATE KEY UPDATE ... Read more

Posted in Mysql | Tagged merge into, Mysql, replace into, upsert

Batch import RTF files into MySQL BLOB without programming

Posted on August 30, 2017 by Shiji Pan

Want to batch import RTF (Rich Text Format) documents into MySQL TEXT (CLOB) or BLOB column? Using MyLobEditor, you can import bulk rtf files into MySQL TEXT (CLOB) or BLOB easily and fast, just a few mouse clicks. Here you can download and install MyLobEditor. Batch import RTF documents to ... Read more

Posted in MyLobEditor | Tagged BLOB, CLOB, Mysql, RTF, store RTF in MySQL BLOB or CLOB

Some ETL (Extract-Transform-Load) tools for MySQL

Posted on August 11, 2017 by Shiji Pan

Withdata Software provide some ETL (Extract-Transform-Load) tools for MySQL: FileToDB Load TXT, CSV, TSV, XML, JSON, Excel, SQL, RDF, INI data to MySQL DBToFile Export MySQL data to TXT, CSV, TSV, XML, JSON, Excel, SQL files DBCopier Copy data between MySQL and other rational ... Read more

Posted in Mysql | Tagged ETL, Extract-Transform-Load, Mysql

Some data import / export tools for Percona

Posted on August 11, 2017 by Shiji Pan

Withdata Software provide some tools for MySQL, all these tools can work for Percona: See how to use these tools work for Percona: Import XML data into Percona (MySQL) Schedule and automate Percona (MySQL) importing XML data task Import data into Percona (MySQL) from MongoDB exported JSON ... Read more

Posted in Mysql | Tagged Mysql, Percona, Percona export, Percona import

How to select N random records from a MySQL table

Posted on April 18, 2017 by Shiji Pan

If you want to select N random records from a MySQL table, you need to change the clause as follows: select * from tableName order by rand() limit N For example, to select 5 random customers in the customers table, you use the following query: select * from customers order by rand() limit 5 Some ... Read more

Posted in Tips | Tagged Mysql, random records

Some data import / export tools for MariaDB

Posted on December 22, 2016 by Shiji Pan

Withdata Software provide some tools for MySQL, all these tools can work for MariaDB: See how to use these tools work for MariaDB: Import XML data into MariaDB (MySQL) Schedule and automate MariaDB (MySQL) importing XML data task Import data into MariaDB (MySQL) from MongoDB exported JSON ... Read more

Posted in Mysql | Tagged MariaDB, MariaDB export, MariaDB import, Mysql

How to get index column names of a table from MySQL

Posted on October 24, 2016 by Shiji Pan

SELECT INDEX_NAME,COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'my_schema_name' AND TABLE_NAME = 'my_table_name' See also: How to get index column names of a table from DB2 How to get index column names of a table from SQL Server How to get index column names of a table ... Read more

Posted in Mysql | Tagged get index columns, Mysql

Post navigation

← Older posts
Newer posts →

Recent Posts

  • Convert Text to Speech Line by Line
  • Store HTML in SQLite TEXT: Step-by-Step Implementation & Best Practices
Withdata Software. ©2004 - 2026 All rights reserved.