mysql指令大全

导入txt文件:load data infile 'D:/Master_graduate/w2v_small_small.txt' into table w2v_server;

导入txt文件以指定分隔符分隔:load data infile 'G:/test.txt' into table weibo fields terminated by ' ' lines terminated by '\r\n' (user_id, from_id, content);

导出备份数据库表:

(1)管理员启动cmd

(2)C:\Program Files\MySQL\MySQL Server 5.6\bin

(3)mysqldump -u root -p tju_social_computing w2v_server>D:\w2v_server.txt

你可能感兴趣的:(mysql)