I've a very old database. Probably mysql.
Hoping to import it into Postgresql for Django.
It starts.
`-- phpMyAdmin SQL Dump
-- version 4.4.15.10
-- https://www.phpmyadmin.net
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 utf8mb4 */;
CREATE TABLE IF NOT EXISTS "archives" (
"archive_id" int(11) NOT NULL,
"name" varchar(255) DEFAULT NULL,
"url" varchar(255) DEFAULT NULL,
"notes" text
) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8;`
It did use backticks for table names etc but I globally replaced them while blundering around.
Tried Adminer Import (you never know) but loads of errors - no surprise.
Rumour has it that pgloader does the trick.
Any thoughts?
Is it available or a better way?
Ta.