I am using MySQL for the first time. I am running it in the pythonanywhere console. I was able to create some schema's but when i try to load data into the database i get an access denied error.
I used this code:
LOAD DATA
INFILE '/home/username/data.tsv'
INTO TABLE table
FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n';
And got this error:
ERROR 1045 (28000): Access denied for user 'username'@'%' (using password: YES)
when googling for solutions I got similar errors with commands like this:
SELECT user, host FROM mysql.user
>>> ERROR 1142 (42000): SELECT command denied to user 'username'@'10.0.0.44' for table 'user'
Can anybody help me solve this/tell me what I did wrong?