Question: Im trying to create a database with MySQL and when trying to transfer in the data from the file, it is giving me an error.
Im trying to create a database with MySQL and when trying to transfer in the data from the file, it is giving me an error. * See the code and error below*
How do I correct this?
mysql> LOAD DATA INFILE 'C:\wamp64\www\PHP_Projects\PHP_Projects\Chapter.07\Projects\team_stats.txt'
-> INTO TABLE teamstats;
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement mysql>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
