I'm new to coding and I am having trouble I think granting permission. I am trying to write an SQL statement to list the contents of the orders table and send the output to a file that has a .csv extension. But I keep getting this error:
Asked
Active
Viewed 985 times
1 Answers
0
I am not an expert on what you are asking but found below solution through google:
Try the following:
- mkdir /var/lib/mysql/tmp
- chmod mysql:mysql /var/lib/mysql/tmp
- Add the following line into the [mysqld] section: tmpdir = /var/lib/mysql/tmp
- Restart the server

Kazi Mohammad Ali Nur Romel
- 15,301
- 2
- 13
- 26