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.