Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3724

SOURCE command error (2 replies)

$
0
0
Hi,

I'm using simple code from command prompt (Windows XP):

USE PCR_experiment;
SOURCE c:/Youtube/PCR_database_populate.txt;

and it works. It populates the database through INSERT queries.
When I try the same code in Workbench (5.2.44) with MySQL Server 5.5 it does not work. I get the error: "Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SOURCE c:/Youtube/PCR_database_populate.txt' at line 1"
Any ideas why?

Best,

Martin

Viewing all articles
Browse latest Browse all 3724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>