i m working with database.but there is a problem.i typed all the command for setting up a mysql user account.then i typed the command to create database.everything is ok till i enter the password.
but when i m typing the final command "source books.sql" there occurs an error
C:\apache\mysql\bin>mysql -h localhost -u jhtp6 -p
Enter password: *****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 19 to server version: 3.23.47-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> source books.sql;
Failed to open file 'books.sql', error: 2
i don't understand the problem.
please help me.
Okay? And your thought process behind asking a MySQL question on a Java forum rather than on a MySQL forum?