matomo-org / matomo-org/docker
Matomo diagnostic reports Error: LOAD DATA INFILE : SQLSTATE[HY000]: General error: 1290
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1k
- Forks
- 384
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I am running Matomo from the docker container retrieved from Docker Hub
I also run the MySQL 5.8 container in parallel.
docker run --name david_mysql -e MYSQL_ROOT_PASSWORD= MyPassword -d mysql:latest
docker run -p 80:80 --link david_mysql:db matomo:latest
The Matomo web server is connecting and I am able to run the configuration wizard.
One done I am able to see the dashboard. However the dashboard doesn't display any data (visitors for example)
I run the Matomo diagnostic > system check , and it shows error in the database section: the error is
Error: LOAD DATA INFILE failed... Error was:
Try matomo-org/matomo#1: LOAD DATA INFILE : SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --secure-file-priv option so it cannot execute this statement,

Is this error related to the fact that I don't see any information in the dashboard?
Do I run the images properly (I couldn't find good information on running Matomo from containers)
Not sure if this is a bug, can you please advice?
Thx
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Matomo Docker Hub setup with the shown docker run commands and inspect the Matomo system check and dashboard behavior. Investigate the reported MySQL secure-file-priv error and establish whether it explains the missing dashboard data; done means the diagnostic behavior and dashboard impact are documented or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, mysql
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100