UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Database backup file won’t import into MySQL 8
Tagged: mysql database
- This topic has 24 replies, 3 voices, and was last updated 4 years, 9 months ago by Mark Smith.
-
AuthorPosts
-
February 19, 2020 at 8:10 am #516654Mark SmithParticipant
Hi Dee,
Yes, that’s done it.
Would that be available in an upcoming update?
Many thanks for your assistance in this.
Mark
February 19, 2020 at 4:07 pm #516849Dee NutbourneModeratorHi Mark,
Yes, we will be improving the method to disable strict requirements.
I have added this to our development list.Best Wishes,
DeeMarch 3, 2020 at 2:29 pm #515274Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (not a complete example – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d):
docker run -d \
–name DB \
-P \
-v /path/to/one-of-the/export-files-directory:/docker-entrypoint-initdb.d \
-e MYSQL_USER_FILE=/var/run/secrets/mysql-user \
-e MYSQL_PASSWORD=”” \
-e MYSQL_ROOT_PASSWORD=”” \
-e MYSQL_DATABASE_FILE=”” \
mysql:8March 3, 2020 at 2:29 pm #515277Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (not a complete example – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d):
docker run -d \
–name DB \
-P \
-v /path/to/one-of-the/export-files-directory:/docker-entrypoint-initdb.d \
mysql:8March 3, 2020 at 2:29 pm #515278Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (not a complete example – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d):
docker run -d –name DB -P -v /path/to/one-of-the/export-files-directory:/docker-entrypoint-initdb.d -e MYSQL_USER_FILE=/var/run/secrets/mysql-user -e MYSQL_PASSWORD=”” -e MYSQL_ROOT_PASSWORD=”” -e MYSQL_DATABASE_FILE=”” mysql:8March 3, 2020 at 2:29 pm #515283Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (unable to provide an example due to errors with the duplicate answer check – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d)
March 3, 2020 at 2:29 pm #515287Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)March 3, 2020 at 2:29 pm #515302Mark SmithParticipantHi,
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (not a complete example – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d):
docker run -d \
–name DB \
-P \
-v /path/to/one-of-the/export-files-directory:/docker-entrypoint-initdb.d \
-e MYSQL_USER_FILE=/var/run/secrets/mysql-user \
-e MYSQL_PASSWORD=”” \
-e MYSQL_ROOT_PASSWORD=”” \
-e MYSQL_DATABASE_FILE=”” \
mysql:8March 3, 2020 at 2:29 pm #515389Mark SmithParticipantHi,
Ignore my previous comment – I have spent quite a few attempts to reply.
I have done some further experiments and narrowed it down to the CREATE TABLE command.
I have attached both an Updraft backup file (which fails against MySQL 8) and a MySQL 8 export (no data). Both the actual CREATE TABLE commands are identical which makes me think the metadata or comments within the file have an impact.
https://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted)To replicate (not a complete example – the key is to place one of the files in a standalone directory and map to /docker-entrypoint-initdb.d):
docker run -d \
–name DB \
-P \
-v /path/to/one-of-the/export-files-directory:/docker-entrypoint-initdb.d \
-e MYSQL_USER_FILE=/var/run/secrets/mysql-user \
-e MYSQL_PASSWORD=”” \
-e MYSQL_ROOT_PASSWORD=”” \
-e MYSQL_DATABASE_FILE=”” \
mysql:8March 3, 2020 at 2:29 pm #515390Mark SmithParticipanthttps://pastebin.com/jkC59TqK – Updraft Backup file (data deleted)
https://pastebin.com/w8yYU8tF – MySQL Export file (data deleted) -
AuthorPosts
- The topic ‘Database backup file won’t import into MySQL 8’ is closed to new replies.