shopjd
asked on
mysql sqlyog
mysql> LOAD DATA LOCAL INFILE 'member.txt' INTO TABLE member;
how do I do this command
also where does 'member.txt' have to be located
c:\member.txt
how do I do this command
also where does 'member.txt' have to be located
c:\member.txt
ASKER
would this command also work for a .sql file
if you want to "run" what you have a sql statements in a .sql file, you need to do this:
http://dev.mysql.com/doc/refman/5.1/en/mysql.html
http://dev.mysql.com/doc/refman/5.1/en/mysql.html
mysql {connection parameters here} < yoursqlfile.sql
ASKER
the file name is c:\create.sql
I am using sqlyog query editor
what would I type
I am using sqlyog query editor
what would I type
as I don't use sqlyog, I am not sure.
I presume you need to use a "file -> open" command to open that file in the query browser, and the "run" it ...
I presume you need to use a "file -> open" command to open that file in the query browser, and the "run" it ...
ASKER
if I use windows cmd
and naviagate to mysql
what would I type in
and naviagate to mysql
what would I type in
ASKER
what should I put for
{connection parameters here}
{connection parameters here}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
that can be mysql command line (dos or unix prompt), that is what mysql> refers to...
and for a specific location, well, just specify it:
Open in new window