Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Execution of script file from MySQL command line (2 replies)

$
0
0
Server is MySQL 5.5, operating system is Windows XP. Using Notepad I created a script file SQL_script.txt with a single instruction, "USE MENAGERIE;" where the argument is a valid test database name. I located this file right in the root directory:
c:/SQL_script.txt
From the MySQL command line I executed command
\. c:/SQL_script.txt;
with result
ERROR: Failed to open file 'c:/SQL_script.txt;'. error: 2

Why did the open fail? Where can I find an error message table with numeric error codes? (I have the MySQL 5.5 Ref Manual downloaded.)

Viewing all articles
Browse latest Browse all 7239

Trending Articles



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