Results 1 to 2 of 2

Thread: database

  1. #1
    sum
    sum is offline Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default database

    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;
    ERROR:
    Failed to open file 'books.sql', error: 2


    i don't understand the problem.
    please help me.

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Okay? And your thought process behind asking a MySQL question on a Java forum rather than on a MySQL forum?

Similar Threads

  1. Database
    By arywak in forum New To Java
    Replies: 2
    Last Post: 02-08-2011, 02:29 AM
  2. What database shall i use?
    By etherkye in forum JDBC
    Replies: 13
    Last Post: 06-26-2009, 06:03 PM
  3. help with database
    By fahien_akim in forum NetBeans
    Replies: 0
    Last Post: 03-07-2009, 01:44 PM
  4. Replies: 2
    Last Post: 02-11-2009, 04:43 AM
  5. Database in a PDA
    By percivalwcy in forum JDBC
    Replies: 2
    Last Post: 08-08-2007, 03:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •