Commit b183208a authored by Daniel Kim's avatar Daniel Kim
Browse files

changing dir of load data

parent fd931094
......@@ -23,7 +23,7 @@ create table ImdbMovies (
userScore float,
criticScore float
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/IMDb movies.csv' ignore into table ImdbMovies
load data infile '/var/lib/mysql-files/03-Movies/IMDb movies.csv' ignore into table ImdbMovies
fields terminated by ','
enclosed by '"'
escaped by ''
......@@ -53,7 +53,7 @@ create table ImdbNames (
spousesWithChildren int,
children int
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/IMDb names.csv' ignore into table ImdbNames
load data infile '/var/lib/mysql-files/03-Movies/IMDb names.csv' ignore into table ImdbNames
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
......@@ -83,7 +83,7 @@ create table ImdbTitlePrincipals (
job varchar(256),
characters varchar(512)
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/IMDb title_principals.csv' ignore into table ImdbTitlePrincipals
load data infile '/var/lib/mysql-files/03-Movies/IMDb title_principals.csv' ignore into table ImdbTitlePrincipals
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
......@@ -115,7 +115,7 @@ create table MojoBudgetData (
genre4 varchar(16),
link varchar(64)
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/Mojo_budget_data.csv' ignore into table MojoBudgetData
load data infile '/var/lib/mysql-files/03-Movies/Mojo_budget_data.csv' ignore into table MojoBudgetData
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
......@@ -150,7 +150,7 @@ create table MojoBudgetUpdate (
genre4 varchar(16),
html varchar(64)
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/Mojo_budget_update.csv' ignore into table MojoBudgetUpdate
load data infile '/var/lib/mysql-files/03-Movies/Mojo_budget_update.csv' ignore into table MojoBudgetUpdate
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
......@@ -184,7 +184,7 @@ create table MoviesMetadata (
score float,
votes int
);
load data infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/movies_metadata.csv' ignore into table MoviesMetadata
load data infile '/var/lib/mysql-files/03-Movies/movies_metadata.csv' ignore into table MoviesMetadata
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment