1
Vote

Problem importing to Mysql

description

Hi

I'm pretty new to this - trying to import xml dumps into MySQL.

I am using MacOS Yosemite mono and DatabaseManager 1.4.

The Connection to mysql seems fine (giving the wrong credetials returns error)

The error is both when importing xml files from 2008 and 2015

Below is my terminal:

Franks-MacBook-Pro:DatabaseManagerCli 1.3 franksvan$ sudo mono DatabaseManagerCli.exe import-artists
Password:

Unhandled Exception:
System.Xml.XmlException: Invalid element.
at DiscogsNet.XmlReaderExtensionMethods.AssertNonEmptyElement (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at DiscogsNet.Model.DataReader2.ReadArtist () [0x00000] in <filename unknown>:0
at DiscogsNet.FileReading.ArtistReader2.Read () [0x00000] in <filename unknown>:0
at DiscogsNet.FileReading.ArtistReader2+<Enumerate>d__1.MoveNext () [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.ImportArtists () [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.ExecuteCommand (System.String command) [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Xml.XmlException: Invalid element.
at DiscogsNet.XmlReaderExtensionMethods.AssertNonEmptyElement (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at DiscogsNet.Model.DataReader2.ReadArtist () [0x00000] in <filename unknown>:0
at DiscogsNet.FileReading.ArtistReader2.Read () [0x00000] in <filename unknown>:0
at DiscogsNet.FileReading.ArtistReader2+<Enumerate>d__1.MoveNext () [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.ImportArtists () [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.ExecuteCommand (System.String command) [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
at DatabaseManagerCli.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Franks-MacBook-Pro:DatabaseManagerCli 1.3 franksvan$

comments