Mysqldump --all-databases don`t work

Hi everyone!
I`m trying to make dump of all my databases to migrate to another memsql server, so i try to use mysqldump.
my command looks like:

mysqldump -u root -h 127.0.0.1 -v -P 3306 -pmypass --all-databases > dump.sql

but only thing i get is:

mysqldump: [Warning] Using a password on the command line interface can be insecure.
-- Connecting to 127.0.0.1...
-- Disconnecting from 127.0.0.1...

In dump.sql i get:

-- MySQL dump 10.13  Distrib 5.7.39, for Linux (x86_64)
--
-- Host: 127.0.0.1    Database: 
-- ------------------------------------------------------
-- Server version	5.5.58

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2022-10-04 14:45:03

If i trying to dump one database by name, it works.

I`m running Ubuntu 18.04, mysqldump Ver 10.13 Distrib 5.7.39, for Linux (x86_64),

MemSQL Version

Version: 7.3.26

Build Hash: edbc115410295f2f036dcef5271be03ae310406a

MemSQL Ops Server Version

Version: 6.5.11

Build Hash: 83d6ee334c69127704dd8d035321630b82f6a2df

Please, help me with that.

Thanks for reporting this.

I tried to reproduce the issue with:

– MySQL dump 10.19 Distrib 10.3.36-MariaDB, for debian-linux-gnu (x86_64)

and SingleStoreDB 7.8

(which is what I happened to have installed)

–all-databases mode was working okay there.

I don’t see any fix related to MySQLDump in our issue tracker. I don’t have a SingleStoreDB 7.3 build around to quickly test right now if its 7.3 related. Potentially try a newer MySQLDump version?

-Adam

1 Like