Closed mitjanikolaus closed 3 years ago
We will update the information shortly, but the address changed, so the server is: ec2-34-212-148-26.us-west-2.compute.amazonaws.com
. You should also use the --single-transaction
option. We will update all of this soon.
Thanks for the quick reply! Unfortunately it still doesn't work. I am getting:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
(I'm using the username and password from the childes-db.json
and using the --single-transaction
option.
Could you try this instead?
mysqldump -v -u childesdb -p -h ec2-34-212-148-26.us-west-2.compute.amazonaws.com --single-transaction --no-tablespaces -C --quick --databases 2020.1
And the password is childes-db.json
one.
This gives me:
-- Connecting to ec2-34-212-148-26.us-west-2.compute.amazonaws.com...
-- MySQL dump 10.13 Distrib 8.0.21, for Linux (x86_64)
--
-- Host: ec2-34-212-148-26.us-west-2.compute.amazonaws.com Database: 2020.1
-- ------------------------------------------------------
-- Server version 5.7.31-0ubuntu0.16.04.1
/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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 */;
-- Starting transaction...
--
-- Current Database: `2020.1`
--
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `2020.1` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `2020.1`;
-- Setting savepoint...
-- Retrieving table structure for table admin...
--
-- Table structure for table `admin`
--
DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` date DEFAULT NULL,
`version` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
-- Sending SELECT query...
--
-- Dumping data for table `admin`
--
-- Retrieving rows...
LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;
mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME = '2020.1' AND TABLE_NAME = 'admin';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)
What is your mysqldump
version?
Ah! I got it: It's because I'm using apparently because I'm using mysql 8. The solution is to use `--column-statistics=0
Yes I was about to suggest that. Will close the issue after I update the website.
I tried downloading a database dump (version 2020.1) using the instructions at http://childes-db.stanford.edu/releases.html . However, the result that I got when writing it into a file was only this (no data was exported):