Opened 3 years ago
Closed 3 years ago
#33612 closed Uncategorized (worksforme)
Clone db failed in MariaDB 10.7.3.
Reported by: | Mohammad Ali Mehdizadeh | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 4.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In MySQL8, It seems mysqldump value of column-statistics is enabled by default but MySQL documentation said another thing.
Anyway, when I add --column-statistics=0
to __clone_db
, I can run tests and cloning database works well.
Database version:10.7.3-MariaDB-1:10.7.3+maria~focal
`(djangoproject) ~/m/d/django ❯❯❯ pip list ✘ 1
Package Version Editable project location
aiohttp 3.8.1
aiosignal 1.2.0
aiosmtpd 1.4.2
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
asgiref 3.5.0
async-generator 1.10
async-timeout 4.0.2
atpublic 3.0.1
attrs 21.4.0
backports.zoneinfo 0.2.1
bcrypt 3.2.0
black 22.3.0
certifi 2021.10.8
cffi 1.15.0
charset-normalizer 2.0.12
click 8.1.0
cryptography 36.0.2
Deprecated 1.2.13
Django 4.1.dev20220315120744 /local/path/
docutils 0.18.1
frozenlist 1.3.0
geoip2 4.5.0
h11 0.13.0
idna 3.3
Jinja2 3.1.1
MarkupSafe 2.1.1
maxminddb 2.2.0
multidict 6.0.2
mypy-extensions 0.4.3
mysqlclient 2.1.0
numpy 1.22.3
outcome 1.1.0
packaging 21.3
pathspec 0.9.0
Pillow 9.0.1
pip 22.0.4
platformdirs 2.5.1
psycopg2 2.9.3
pycparser 2.21
pylibmc 1.6.1
pymemcache 3.5.1
pyOpenSSL 22.0.0
pyparsing 3.0.7
PySocks 1.7.1
pytz 2022.1
pywatchman 1.4.1
PyYAML 6.0
redis 4.2.0
requests 2.27.1
selenium 4.1.3
setuptools 61.0.0
six 1.16.0
sniffio 1.2.0
sortedcontainers 2.4.0
sqlparse 0.4.2
tblib 1.7.0
tomli 2.0.1
trio 0.20.0
trio-websocket 0.9.2
typing_extensions 4.1.1
tzdata 2022.1
urllib3 1.26.9
wheel 0.37.1
wrapt 1.14.0
wsproto 1.1.0
yarl 1.7.2`
Change History (1)
comment:1 by , 3 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Summary: | Clone db failed in MySQL8 → Clone db failed in MariaDB 10.7.3. |
Thanks for the report, however it works for me with MariaDB 10.7.3 (you don't use MySQL).