Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Error when using cwe_data function of docker-admin.sh #103

Open
jsanket9578 opened this issue Apr 15, 2021 · 1 comment
Open

Error when using cwe_data function of docker-admin.sh #103

jsanket9578 opened this issue Apr 15, 2021 · 1 comment

Comments

@jsanket9578
Copy link

jsanket9578 commented Apr 15, 2021

Describe the bug
I get the following error message when using cwe_data function of docker-admin.sh:
cwe_data: ERROR 3948 (42000) at line 1: Loading local data is disabled; this must be enabled on both the client and server sides

To Reproduce

  1. Navigate to vulncode-db folder
  2. Execute setup.sh
  3. Write the command: ./docker/docker-admin.sh cwe_data
  4. See Error (Check screenshot)

Desktop

  • OS: macOS Catalina

Additional Context
The error looks to be related to MySQL but since everything is containerised, I am not sure how to debug.

image

@evonide
Copy link
Contributor

evonide commented Jun 4, 2021

Issue 6bea981 adds --local-infile=1 to the mysql client. I have to verify if this is sufficient to import data from a csv file though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants