Failed to open file

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
Templeton Peck
Forum Commoner
Posts: 45
Joined: Sun May 11, 2003 7:51 pm

Failed to open file

Post by Templeton Peck »

I get the error failed to open file and then the filename.. wondering how do I get the file to open / where do I stick files to open them.

trying to create the database from script file: source create_dd_database.sql;

also tried: source \. mysql\create_dd_database.sql;

the file is currently in c:\mysql

I don't get how to specify for it to look in the c:\mysql directory for the create_dd_database.sql file... if someone could give me the exact command to use i'd appreciate it.
User avatar
delorian
Forum Contributor
Posts: 223
Joined: Sun May 04, 2003 5:20 pm
Location: Olsztyn, Poland

Post by delorian »

Try to put the source file in your c:\mysql\bin directory, or just use:

source c:\mysql\create_dd_....
or
source c:\create_dd_...
Post Reply